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

Wrapper - render without font and exception

More
10 years 9 months ago #9023 by leonardors
Hello,

I wrapper some features of Radaee, creating methods that create images only, removing the zoom of the components and all other features. I did the codes, but to run some files had different results:

- When running a file without embedded fonts, the render shows the PDF without the sources.
- When running other files, one execption is generated.
- Other files, functions normally.

I have attached the project from mistakes.


Thank you.
More
10 years 9 months ago #9024 by leonardors
I found error!!
In PdfRadaeeMemoryStreamWrapper

Incorrect code
-(bool)seek:(unsigned long long)pos
{
int nPos = (int)pos;
if (pos > [self position] || nPos < 0){
return NO;
}
position = nPos;
return YES;
}

Correct code
-(bool)seek:(unsigned long long)pos
{
int nPos = (int)pos;
if (pos > [self length] || nPos < 0){
return NO;
}
position = nPos;
return YES;
}
More
10 years 9 months ago #9025 by support
About missing fonts: have you included cmaps and fdat folders in your project?
More
10 years 9 months ago #9026 by leonardors
Everything was related to the stream
Time to create page: 0.411 seconds
Powered by Kunena Forum