@@ -74,11 +74,11 @@ namespace oxygine
const oxygine::Font* ResFontBM::getClosestFont(float worldScale, int styleFontSize, float& resScale) const
{
- if (styleFontSize)
- resScale = _size / float(styleFontSize);
- else
- resScale = _font->getScale();
+ if (!styleFontSize)
+ styleFontSize = _size;
+ float scale = _size / float(styleFontSize) * _font->getScale();
+ resScale = resScale;
return _font;
}
@@ -14,7 +14,7 @@ class helper(object):
elif sys.platform == "linux2":
self.path_pvrtextool = self.path_root + "/3rdPartyTools/linux/PVRTexToolCLI "
else:
- self.path_pvrtextool = self.path_root + "/3rdPartyTools/PVRTexToolCL.exe "
+ self.path_pvrtextool = self.path_root + "/3rdPartyTools/PVRTexToolCLI.exe "
def process_xml(self, embedded, args):
if embedded: