Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

text is not written correct showing squres

More
10 years 6 days ago - 10 years 4 days ago #10089 by ankur123987
Hi radaeepdf Team,

I am trying to write the text at pdf file . I am trying this link www.radaeepdf.com/support/knowledge-base...component&kbartid=35 for write at pdf file
please see the attachment for error ..AS you can see the sqare box at the top of the pdf page in attachment

Please suggest how can i resolve ?

Thanks
Last edit: 10 years 4 days ago by ankur123987.
More
10 years 4 days ago #10093 by ankur123987
hello radaeepdf team,

I am surprised to see that my attachment is not showing here . I dont know you got it or not . please provide the solution of rect boxes while write text at pdf file.

please provide the solution as soon as possible

Thanks
More
9 years 9 months ago #10478 by gabmor
Did you solve this problema?
More
9 years 9 months ago #10480 by support
Normally squares are due to not available fonts.
Android doesn't provide any fonts apart of Roboto and few more.

Our package contains free to be distributed fonts that substitute standard PS font sets and you should include them in your own application.

If you've some particular needs, please explain them here... we will be glad to help you.
More
9 years 9 months ago - 9 years 9 months ago #10486 by ankur123987
in spite of predefined fonts . can we pass our customize ttf or font file to native methods i have OpenSans-Light_0.ttf file how can i use it in RAdaeepdf library . it would easy to kept the file in assert folder and its available to every-device instead to depend on devices font ..

thanks
Last edit: 9 years 9 months ago by ankur123987.
More
9 years 9 months ago #10488 by Davide
Hi,
you could replace the instance of fallback fonts and the default font for annots.

Use this to load your font, add this in Global class between fontfileListStart() and fontfileListEnd() :
Code:
load_truetype_font(Resources res, int res_id, File dst);
And this to use your font instead of the default font for annots ;
Code:
// set text font for edit-box and combo-box editing. if (!setAnnotFont("Your Font") && face_name != null) { setAnnotFont(face_name); }

Note: you may need to remap your font with the font used in the pdf.
For example you can check Global.java


We checked and we found that font license is ok for distribution in commercial app.

The only thing to watch out is that it does not include Chinese, Japanese and Korean.
Time to create page: 0.523 seconds
Powered by Kunena Forum