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

Change font with javascript on mobile version

Community Beginner ,
Jun 10, 2020 Jun 10, 2020

Copy link to clipboard

Copied

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

Views

576

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

View solution in original post

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Thank you for your answer.

Votes

Translate

Translate

Report

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