Hello, I'm having problems drawing japanese (and russian, arabic, etc)
characters when trying to draw a FreeText annotation using PdfPainter
This is the code I'm using
font = document->CreateFont("Helvetica");
font->SetFontSize(15);
painter.SetColor(0, 0, 0);
pdf_utf8 *utf8 = (unsigned char *)"こんばんは";
painter.DrawText(xOffset, yOffset, PdfString(utf8));
This works well with regular characters, but the foreign ones are not displayed
I stumbled into
// TODO: Unicode and Hex not yet supported
on PdfFontType1.cpp, void PdfFontType1::AddUsedSubsettingGlyphs( const
PdfString & sText, long lStringLen )
Is there any plans on doing this in the near future? Is there a workaround to
be able to draw these glyphs?
------------------------------------------------------------------------------
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/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users