On Wed, 2016-05-25 at 14:15 +0000, Jaseem Ali K T wrote:
> But I would like to know if it’s possible to have a fall back font
> mechanism to display the string correctly with current podofo( even
> if it is not very direct)

        Hi,
try to use PdfFontMetrics::GetGlyphWidth() function to determine
whether the glyph is available in the font or not. If not, then draw
that particular glyph with a different font. The PdfFontMetricsFreetype
implementation of the GetGlyphWidth() function returns 0.0, when it
cannot load the glyph from the font.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to