https://bugs.freedesktop.org/show_bug.cgi?id=64525
--- Comment #22 from Khaled Hosny <[email protected]> --- (In reply to comment #18) > Good to see that we are again taking the issue seriously. > > While SutonnyMJ is not a Unicode font, SutonnyOMJ is (Did you notice the > extra O? I already mentioned this font in this question > http://ask.libreoffice.org/en/question/24884/incorrect-ctl-font-rendering-by- > libreoffice-4/). This is one of the fonts selected as part of the > standardization process by the Government of Bangladesh. I am attaching here > that font for testing. This is the cropped text issue (which you should have opened a separate issue for, but anyway). Again the font is broken, this time the font sets a positive value for OS/2 sTypoDescender (http://www.microsoft.com/typography/otspec/os2.htm#std) and hhea Descender (http://www.microsoft.com/typography/otspec/hhea.htm), but those values should be *negative* for descenders below baseline. This works with older version of LibreOffice and OpenOffice because the ascender was taken from OS/2 usWinDescent (http://www.microsoft.com/typography/otspec/os2.htm#wd) which is *positive* for descenders below baseline, but using usWin* value to calculate line height was wrong and broke other fonts, so we changed that. So the solution here is to fix the font. I think the font developers might get away with this because other software are either using usWinDescent or forcing sTypoDescender et al. to be negative to work around such font bugs. But I personally don’t like such hacks, if the font is broken then it should be fixed instead of hacking every software package to work around its brokenness (and what if a font has legitimate use of positive descender, why break a completely valid font?). And if this font is not free, I think bugzilla admins should remove it, any body knows how to contact them? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
