Red Hat Bugzilla – Bug 138189
bold fonts fail to print in OOo, (postscriptname for Bold/Italic/Normal fonts are the same)
Last modified: 2007-11-30 17:07:14 EST
Description of problem:
Printing of hindi text fails totally, if even one hindi word is made
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open the attached .sxw in writer.
2. print the doc.
3. make the one bold hindi word normal.
4. print the doc.
The printout is perfect in case of regular text.
In case of bold text, all the hindi text is garbage - only the
characters from the bold word and squares are repeated over and over
again, wherever hindi text should print in bold.
Printing should be proper in all cases
Attaching a test sxw, and the postscript outputs of the sxw.
The ttfonts-hi package (providing lohit fonts) included on rawhide
does not contain bold fonts. Get the packages containing bold fonts
Created attachment 106215 [details]
the test sxw
Created attachment 106216 [details]
printout with normal text
Created attachment 106217 [details]
printout with bold text
I can reproduce it on Tamil as well so i assume it affects all 5 Indic
I cannot reproduce on this configuration:
Note that I don't see the bold text onscreen, but I do see it in the
printout. I may not have the bold fonts though. So either we fixed
this along the way, or the bold font itself causes OOo to barf. Could
somebody test this with the bold font on 1.1.2-16.6 or later?
Ok, nevermind, its still a problem. Installing the bold font screws
it up. It will require more investigation...
Created attachment 115537 [details]
output with I do some magic with the font
Created attachment 115538 [details]
Created attachment 115539 [details]
Ok, the postscript name for the Lohit Hindi and Lohit Hindi Bold fonts is the
same, it's Lohit-Hindi for the normal one, and should be Lohit-Hindi-Bold or
something different for the other one. Presumably this is why rh#157914# is also
Attached is a simple program to dump the postscript name of a ttf fontfile so as
to double check the postscript name of other fonts.
Also attached is the Lohit_Hindi_Bold ttf file, except with it's postscript name
hacked to be Lohit-Hindb. If you replace your system original with the above
copy, and then remove OOo's cache of fonts of
and try again you should get the correct postscript as attached.
so it's really a problem of the font IMO
*** Bug 157915 has been marked as a duplicate of this bug. ***
Thanks for your effort Caolan! I have tested it against OOo and evolution and it
should be as you said - a font problem as the postscript name on normal and bold
weight are the same. I have already sent the request to the font vendors to get
the official change.
This is good to be in, however I cannot ACK it unless we have tested all those
'fixed' bold fonts for all tier-1 applications.
Font vendor has not give us the update bold fonts with all those fixed mentioned
above. It is a risk if they are included. Moving to RHEL4U3Proposed.