[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: trouble exporting italics with PostScript latin-1 fonts



On Sun, 2005-05-22 at 01:00 -0400, Tim Olsen wrote:
> Hello.   I am having trouble exporting italics with PostScript latin-1 fonts.
> 
> I am using the cvs version of dia.
> 
> I am attaching two files:  italics.dia and italics.eps
> Notice that the word "italic" is not in italics.  Particulary
> interesting are the last few lines of italics.eps:
> 
> /Helvetica-latin1 ff 0.560000 scf sf
> 0.000000 0.000000 0.000000 srgb
> (italic) 4.500000 1.750000 m gs 1 -1 sc sh gr
> /Helvetica-latin1 ff 0.560000 scf sf
> (normal) 4.300000 2.650000 m gs 1 -1 sc sh gr
> showpage
> 
> I am not familiar with postscript but it looks like it's not
> specifying that "italic" should be shown in italics.

Problem was that the PS fonts don't call it Italic, they call it
Oblique, so we'd used the internal Dia equivalent, DIA_FONT_OBLIQUE.
However, the Dia fonts in question only have DIA_FONT_ITALIC.  I'm sure
font pedents will come swarming with torches and pitchforks, but it
works for legacy fonts.

-Lars

-- 
Lars Clausen <lars raeder dk>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]