Font size in PDF documents generated by a mobile application

Discussions regarding 1C:Enterprise for mobile devices with Android, iOS, or Windows Phone.

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 26, 2012
Company: CloudOffice AB

We develop a functionality which generates PDF files based on different document print forms in the configuration.

What we found, font size in the finished PDF does not correspond the font size which is set up in the print form. For instance, if we set a font Arial size 10 in the configurator, instead we get a font Roboto 5,2 in the PDF file.

Please, advise.

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey.

I'm still investigating this issue. Sorry for the delay.

 
#3
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey.

I was able to reproduce the issue, thank you for the sample configuration with error demonstration.
I have submitted error details to the developer team.

 
#4
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey
Try using these options to change page size:

Code
SpreadsheetDocument.PageSize = "A4";
SpreadsheetDocument.FitToPage = True;

 
#5
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 26, 2012
Company: CloudOffice AB

Dear Timofey,

It looks like "SpreadsheetDocument.PageSize = "A4";" is ignored by the mobile platform.
After suggested corrections we received a PDF file which is still the same size of 17,5x24,72 cm, which is no A4.

 
#6
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Thank you, Alexey, I have updated the ticket data on this issue.

 
#7
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey.

Here are good news: this issue is fixed in 1C:Enterprise mobile platform 8.3.10.50.

 
#8
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 26, 2012
Company: CloudOffice AB

Dear Timofey,

Thank you for your comment.
We have already tested Mobile Platform 8.3.10 (trial versions) and confirm that size of PDF-docs is corrected now. What we found as well, PDFs are generated much faster, compared with how it's been before.
Looking forward to testing our app on the new platform.
Thank you, guys!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.