First suggestions: 1. I can't remember (due to being a new parent): does this affect just "export to PDF" or also "print -> file -> PDF"? The code for "export to PDF" is a quick hack I wrote, with the text font generation code taken from some SunFontTools code that was hanging around in libgnomeprint-2. The "print -> print to file -> PDF" path uses GtkPrint + cairo instead (which is the successor of libgnomeprint-2 but seems to have a more modern font generation code). In principle we could deprecate "export to PDF" at some point and just rely on GtkPrint + cairo, though two obvious drawbacks: (a) exporting at the correct page size for non-standard document sizes would probably require a hack, and (b) this path doesn't really preserve the existing underlying PDF document, but rather re-renders it to a PDF-writing context, so there's more risks of mangling it.
2. the font generation code in Export to PDF looks very different for TrueType vs. Type 1 fonts, and I expect the bugs to be different. So try and see whether the type of font used matters, namely Type 1 fonts vs. TrueType fonts. (examples of TrueType fonts on Fedora: the DejaVu series, the Liberation series, etc.; examples of Type 1 fonts: the URW series of fonts (URW Bookman, etc) (locate .ttf for TrueType fonts, vs .pfb or .pfa for Type 1 fonts). Are both types of fonts affected? Denis On 06/20/2012 10:35 AM, D M German wrote: > > hi everybody, > > One thing that I would really like to call attention to (and I think it > is far more pressing issue than git/cvs) is the fact that documents that > contain text, when exported to PDF do not work properly. > > Apple's Preview does not display such text. This is putatively an Apple > bug, but it hits Xournal and not other linux apps, so I believe we need > to solve it. I have been looking at the way that the PDFs are generated > and are very hacky (there does not seem to exist a library that > generates PDFs in itself). > > if would be great if we can find the solution to this problem. Anybody > has any hints/ideas? > > > > > -- > Daniel M. German > http://turingmachine.org/ > http://silvernegative.com/ > dmg (at) uvic (dot) ca > replace (at) with @ and (dot) with . > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Xournal-devel mailing list > Xournal-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xournal-devel -- Denis Auroux University of California, Berkeley aur...@math.berkeley.edu Department of Mathematics Tel: 510-642-4367 817 Evans Hall # 3840 Fax: 510-642-8204 Berkeley, CA 94720-3840 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel