From: Tony G. <Ton...@Su...> - 2003-03-03 17:05:28
|
Charles Bozeman wrote at 1 Mar 2003 21:42:47 -0600: > I had intended the to go to the list instead of Tony personally. SourceForge policy is against Reply-To: munging. I prefer Reply-To: munging for mailing lists (but don't want to start discussing it further here), but it's best if this list behaves like the other SourceForge lists. ... > Sorry took so long to reply. I filed a bug with an attached patch to add > the include path to pich up libxml2. I still haven't been able to get What version of libxslt are you using? For libxslt-1.0.17, 'xslt-config --cflags' includes '-I/usr/local/include/libxml2', which is why builing xmlroff works for me. > xmlroff to work yet; my suspicion is it has something to do with > freetype or fontconfig. It appears that fontconfig and PDFlib aren't agreeing on what constitutes a font. > The command I was trying to run is: > ./xmlroff xmlroff.fo That should work. > I also tried changed the font-family to other values but I still get the > same error. Did you try reducing xmlroff.fo so there's only one fo:block and experimenting with the font-family, font-weight, and font-style properties. While you're using an FO file with multiple font-family, etc., it's hard to tell which one is causing a problem. > I am just going to have to run gdb to try and find the problem. Break on PDF_findfont() to see what font names are being passed to PDFlib. > Let me know if you have any ideas. What does the 'fc-list' command show? 'fc-list' lists all the fonts that the fontconfig library knows about, although I don't find its output tells you all that much. 'xmlroff -d2 xmlroff.fo' or 'xmlroff -d8 xmlroff.fo' will give you a lot of information, but will still only show the font-family names used in the xmlroff.fo file. Regards, Tony Graham ------------------------------------------------------------------------ XML Technology Center - Dublin Sun Microsystems Ireland Ltd Phone: +353 1 8199708 Hamilton House, East Point Business Park, Dublin 3 x(70)19708 |