On Mon, 2004-08-02 at 13:14, Adrian E. Feiguin wrote: > I understand what you are saying, I've been digging into gnome-print and > I get it. The reason why I'm hesitant of doing it this way is: my code > is more primitve and basic, but simpler; and the main point, I > understand that pango cannot render symbol fonts (yes, it's a font > problem and not a pango problem), and symbols are crucial to a > scientiffic application like mine. I'm not sure what you mean by "cannot render symbol fonts". As long as the fonts encoding can be represented in Unicode, there is no problem at all... a font like Adobe Symbol works fine because all the symbols are in Unicode. Your font could also put its characters in the Unicode PUA and that would work fine. If your font has a completely custom character map, you'll need something like the PangoFcDecoder stuff that Chris Blizzard did for pango-1.5 to allow use of Pango for Mozilla's MathML support. > So my idea was, if tha urw-fonts package in the gimp repository includes > the 35 basic Adobe fonts, I should't have problems using them. But for > some reason, after installing them, I can display them using xfontsel, > but not with gnome-print or pango. Why is that? I'm not sure what you are running on your system. If you have a reasonably modern system, to install fonts looks like <copy fonts somewhere within /usr/share/fonts> # fc-cache /usr/share/fonts The urw-fonts package you'd find in most recent distributions should do the right thing automatically, and I think most remotely recent distributions should have urw-fonts intstalled by default. (Red Hat has been doing so for at least 5 years.) > I am planning to take a look at ggv now, but I'm not sure this is a good > idea. > Thank you for any advice, I think gpdf is going to be more useful. ggv is just a ghostscript frontend, gpdf uses some parts of the gnome-print API. Though I'd look a very recent version since some bugs were fixed recently in font handling. But it's certainly going to be cleaner if you can work with gnome-print, and Pango rather than drop down lower-level. Regards, Owen
Attachment:
signature.asc
Description: This is a digitally signed message part