Next in thread →
Next in month →
Re: [docbook-apps] Using custom fonts
Just for grins I tried several other fonts – Verdana, Tahoma, Garamond, Palatino Linotype – and all come out as they should. So far only Tahoma MS doesn't. On Wed, Mar 11, 2015 at 11:27 AM, Alan Oehler <> wrote: I tried switching to another font in the same directory as Trebuchet MS – this time Georgia – and lo and behold, the italics and boldness are back! So clearly fop seems to be able to find the fonts and it seems to be able to recognize the variants with Georgia just fine, but not with Trebuchet MS. Very strange. On Wed, Mar 11, 2015 at 11:18 AM, Alan Oehler <> wrote: @Martin, That doesn't work. I get an exception: No output file specified On Wed, Mar 11, 2015 at 11:07 AM, Martin Doucha <> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 11.3.2015 v 17:39 Alan Oehler napsal(a): > Any other ideas about what might be wrong here? I've Googled a > bunch and I find some places where people had trouble with HTML > output not being italic or bold when expected, but pretty much > reached a dead end on fop PDF output. Let's check if FOP can really see the fonts you need. Copy your /usr/bin/fop somewhere and open it with a text editor. On Gentoo, it looks like this: > #!/bin/bash gjl_package=fop gjl_main="org.apache.fop.cli.Main" > source /usr/share/java-config-2/launcher/launcher.bash gjl_main is the name of entry point class: "org.apache.fop.cli.Main" Whatever your script looks like, search for that string (without quotation marks) and change it to this: org.apache.fop.tools.fontlist.FontListMain Now run the modified launcher script like this: ./fop -c your/config/file.xml fontlist.pdf The output file (fontlist.pdf) will contain samples of all fonts known to FOP, one font per page. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVAIRVAAoJEETC23Hm5VDdyjcIAJWMGGeMKubiC2NfMVrtZi2M pECGePSgYHS3fc6VPrvfKr7HRZs+iG4+Y+ylTlY8iOsWjooJ+Ov+RPVPBp6VlxBM 5RtISHZWjpk87nxjRsAaUDoYp88rrqp0/Xolv52lEfl8ldqYh+XtbQmLJGF5ktxU Cn9YYssVAJR6nJudgcYyEpW6uWNZUXqJPPC1aWdeeJi16aZ4HVBAlLY6YsWsPQkh f/92Ovm6Mq/Gx+XUE3/gtIHJ+OsmJApr0vZZhua+73BVLZqEiV7c/HakITRg4shZ ZyPFmwypBvjHR5yJIlIj84mgVbMTlmPY3hrXDM8nHvgCUqz2P0RpLeN6hA3A2dY= =Lpim -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: For additional commands, e-mail: -- Regards, Alan Alan C. Oehler Senior Technical Writer Phone: 650-919-8856 | Email: Instart Logic | 450 Lambert Ave, Palo Alto, CA 94306 | instartlogic.com -- Regards, Alan Alan C. Oehler Senior Technical Writer Phone: 650-919-8856 | Email: Instart Logic | 450 Lambert Ave, Palo Alto, CA 94306 | instartlogic.com -- Regards, Alan Alan C. Oehler Senior Technical Writer Phone: 650-919-8856 | Email: Instart Logic | 450 Lambert Ave, Palo Alto, CA 94306 | instartlogic.com
Next in thread →
Next in month →