How to embed fonts programatically?

2003-11-25 Thread Borut Bolcina
Hello list! I am wondering how to embed fonts in PDF generated with FOP? I know how to do it with command line -c userconfig.xml, which involves creating metrics files. How can I use those metrics in FOP java API? An example would be great. Bob

Re: Unkown font error driving me crazy

2003-11-17 Thread Borut Bolcina
Hello, if you have build font metrics correctly and are in the same directory as your userconfig and fo files then there are at least 2 more possibilities things can go wrong: Wrong userconfig.xml or/and wrong .fo file. Here you have an example of font entries in userconfig file. font