My question is about 0.9.3 which I currently use - I don't know if the problem is fixed in more recent versions, but reading SVN logs does not seem to indicate that. I apologize if this is already changed in recent versions, feel free to point that out!
I create a text string using a free font https://fonts.google.com/specimen/Lobster+Two. Here's my simplified code: char *text = "Titus" // no bold, no italic PdfFont *f = targetDoc->CreateFont("Lobster Two", false, false, false, PdfEncodingFactory::GlobalIdentityEncodingInstance()); f->SetFontSize(14); painter.SetFont(f); painter.DrawTextAligned(x, y, 1, PdfString(reinterpret_cast<const pdf_utf8*>(text)), PoDoFo::ePdfAlignment_Left)); This works overall. The problem is that this font has a ligature for "Ti", and Inkscape (for example) detects and uses it, while Podofo does not, as shown in the attached images, resulting in an ugly gap. Is this something that can be done in Podofo? If not, what would it take to implement this? Thanks for your help! -- bb
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users