Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise. Mobile platform > Font size in PDF documents generated by a mobile application

Forum

Search UsersRules
Font size in PDF documents generated by a mobile application
#1
Just came
Points:: 0
Joined:: Mar 26, 2012

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.

Profile
#2
Guest
Points::
Joined::

Hello, Alexey.

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

Profile
#3
Guest
Points::
Joined::

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.

Profile
#4
Guest
Points::
Joined::

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

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

Profile
#5
Just came
Points:: 0
Joined:: Mar 26, 2012

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.

Profile
#6
Guest
Points::
Joined::

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

Profile
#7
Guest
Points::
Joined::

Hello, Alexey.

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

Profile
#8
Just came
Points:: 0
Joined:: Mar 26, 2012

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!

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.