A federal judge has ordered Howrey client O2Micro to pay $339,000 in costs and potentially millions in attorney fees after finding it engaged in misconduct in patent suits with Monolithic Power Systems.