You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Coutcher, Joseph James" <jc...@UTNet.UToledo.Edu> on 2006/06/26 20:04:25 UTC

Using a regular font as italic in FOP

Ok...I wish to use "Morningstar 1" as a font within my FO document, but I would like to use the italic version.

 

There is no italic "Morningstar 1" TTF file in the "fonts" directory in Windows XP SP2, yet I can set the font to italic both in Microsoft Word and Notepad.

 

"Morningstar 1" is a font that is not included with Windows XP, but is from a 3rd party.  Since the font "Lucida Console" also has no italic TTF file, if you could provide information on how to use the italic version of that, I could directly apply it to "Morningstar 1."

 

Any help would be greatly appreciated. Thanks!


Re: Using a regular font as italic in FOP

Posted by Chris Bowditch <bo...@hotmail.com>.
Coutcher, Joseph James wrote:

> Ok…I wish to use "Morningstar 1" as a font within my FO document, but I 
> would like to use the italic version.
> 
>  
> 
> There is no italic "Morningstar 1" TTF file in the “fonts” directory in 
> Windows XP SP2, yet I can set the font to italic both in Microsoft Word 
> and Notepad.

M$ software emulates Bold and italic fonts from a regular font. To 
emulate bold I know it prints the same glyph a few times with a slight 
offset for subsequent prints. Not quite sure how it emulates italic 
fonts. FOP has no facility to do this emulation. You need to supply the 
font. There are tools out there to help you manipulate fonts, so you 
could try downloading one of them and creating an italic version of 
Morningstar1. Note, that manipulating fonts using these tools is not easy :(

<snip/>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org