Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Change font with javascript on mobile version

Community Beginner ,
Jun 10, 2020 Jun 10, 2020

I have tried several ways to change font with javascript but it is not working immediate on mobile version.

On desktop it is perfectly fine.

 

I call the following method on document, page and form level:
this.getField(<fieldname>).textFont=<font>;

 

Did I get soemthing wrong or is it a bug in mobile version. 

 

I have attached a simple test form with font selection and a load button for the three XML levels.

 

As well I have attached a saved file. If I open the file on desktiop and save. The Fields formatted on document and form level work, but the live changes with the selection won't.

 

To get the font selection working would be my goal.

 

 

TOPICS
Android , Create PDF , iOS , PDF forms
794
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jun 10, 2020 Jun 10, 2020

It is not a bug. Acrobat Reader for iOS doesn't support this.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 10, 2020 Jun 10, 2020

It is not a bug. Acrobat Reader for iOS doesn't support this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 15, 2020 Jun 15, 2020
LATEST

Thank you for your answer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines