achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

PDF Export with embedded font doesnt style font (bold, italic) #195

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set config "pdf_export_font = c:/windows/fonts/msgothic.ttc,1"
2. export diagram with bold or italic text

What is the expected output? What do you see instead?
Expected: bold text is bold, even with embedded text
Instead: bold text is NOT bold

Reason: according to 
http://stderr.org/doc/libitext-java-doc/www/tutorial/ch09.html "The Bold, 
Italic an BoldItalic styles don't work with embedded fonts."

Possible fix (according to the url): one font per style must be embedded.

Original issue reported on code.google.com by AFDiaX on 3 Oct 2014 at 2:12