Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Sorry to be late here, but to clear up a couple of things: > - For TrueType fonts, the XML font metrics files are not necessary > anymore. <auto-detect/> or <directory> will work just fine. > - Support for all glyphs in a Type 1 fonts has been added to FOP after > the 0.95 release branch. With FOP Trunk, your Type 1 fonts with cyrillic > characters should work, but not with 0.95 as you noticed.
Great to know, thanks. To follow up to my previous post for the benefit of anyone who saw the solution, in my config file, I should have used name="CharisSIL" for all four fonts below. That way font-family="CharisSIL" with font-style="italic" or font-weight="bold" would work correctly. > <fop version="1.0"> > <strict-configuration>true</strict-configuration> > <strict-validation>true</strict-validation> > <renderers> > <renderer mime="application/pdf"> > <fonts> > <font metrics-url="file:///tmp/CharisSILR.ttf.xml" > > embed-url="file:///usr/share/fonts/truetype/ttf-sil-charis/CharisSILR.ttf"> > <font-triplet name="CharisSIL" style="normal" weight="normal"/> > </font> > <font metrics-url="file:///tmp/CharisSILB.ttf.xml" > > embed-url="file:///usr/share/fonts/truetype/ttf-sil-charis/CharisSILB.ttf"> > <font-triplet name="CharisSIL" style="normal" weight="bold"/> > </font> > <font metrics-url="file:///tmp/CharisSILI.ttf.xml" > > embed-url="file:///usr/share/fonts/truetype/ttf-sil-charis/CharisSILI.ttf"> > <font-triplet name="CharisSIL" style="italic" weight="normal"/> > </font> > <font metrics-url="file:///tmp/CharisSILBI.ttf.xml" > > embed-url="file:///usr/share/fonts/truetype/ttf-sil-charis/CharisSILBI.ttf"> > <font-triplet name="CharisSIL" style="italic" weight="bold"/> > </font> > <directory>/usr/share/fonts/truetype/ttf-sil-charis</directory> > <auto-detect/> > </fonts> > </renderer> > </renderers> > </fop> -- Jay Berkenbilt <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
