Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Procedure for adding license to IOS

More
IP: 192.168.0.70 12 years 11 months ago #4113 by abi_inflo
Hi,

I purchased the professional license for IOS pdf viewer. Kindly tell me the procedure to add the license to the project.

I have few more doubts on this,

1. The fonts in the pdf is different than the one showing in the pdf viewer and the bold or italic texts are displayed as plain text in the pdf viewer. Do I need to add any font for this? or will it work fine on professional version?

2. Currently the pages are scrolling in vertical direction. How to change it to scroll in Horizontal direction.

3. We need to show 2 pages in the landscape view(except the first page). Kindly let us know the areas to change.

Regards,
Abilash.G
More
IP: 192.168.0.70 12 years 11 months ago #4115 by abi_inflo
Hi,

In my question, Points 2 and 3 are achieved. I made the following changes to make it work.

In vOpen method of pdfview.m, I added

defView = 3;
int i = 1;
int count = Document_getPageCount(doc);
bool *verts = (bool *)calloc( sizeof(bool), count);
verts[0] = false;
for (i = 1; i<count; i++ ) {
verts = true;
}
...

m_view = [[PDFVDual alloc] init:false :NULL :0 :verts :count-1];

This change is working as expected.

However, when switching from portrait to landscape mode, the pdf pages are not resized to fit to page automatically and when we flip it from landscape to portrait, two half pages are displayed instead of one complete page. Kindly let us know how to handle this.

Thanks,
Abilash.G
More
IP: 192.168.0.70 12 years 11 months ago #4141 by stronglee
Hi,
You can add font you want use in APP_Init() ,add the font in fontfileList.
Time to create page: 0.419 seconds
Powered by Kunena Forum