Hey,
if you really need a fallback you need to install that font on the PC
you are working on first. You could, for example, use a "unicode
complete font" like Arial unicode or whatever's out there.
Then you can do the "getGlyphWidth" trick (which Zyx talked about in his
mail) and decide wether or not you want to use your fallback font.
Podofo itself can not (and should not) do that substitution, because
podofo relies on the installed font from the system its currently
working on.
Greetz,
Dennis
Am 25.05.2016 um 16:15 schrieb Jaseem Ali K T:
Hi All
As per the current behavior, if I draw text( say for some Japanese
string) using a font which doesn’t have glyphs for the characters in
the string(eg: Times New Roman), blanks or squares will be displayed.
This is ok.
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)
(I would like to use some fall back font if the desired font doesn’t
have to glyphs for the characters in the string, and only for these
characters. If the text is mixed English and Japanese, and I am using
Time New Roman to display the text, the English characters should be
displayed with times new roman and Japanese characters should use the
fall back font)
Any hint will be helpful
Thanks and Regards
Ali
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as
information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any
liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of
the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior
written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error
please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for
viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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