[fpc-pascal] How do I test the testfppdf on Windows?

Michael Van Canneyt michael at freepascal.org
Wed Mar 9 20:20:51 CET 2016



On Wed, 9 Mar 2016, Jesus Reyes A. wrote:

>> Please do, I'd welcome any hints as to what could be wrong !
>> 
>> (evince is one of the readers that was used to test, BTW)
>> 
>> Michael.
>
> The problem of evince not showing some texts it's because the compressed font 
> file stream size is written with an incorrect value. There is an option to 
> enable font file compression (poCompressFonts) but in the code, compression 
> is always enabled, the compressed stream size is returned in the function 
> that writes down the compressed stream, too late because the /length item was 
> already written using the uncompressed size. The attached patch addresses 
> both problems and makes sure length1 item is not written down if not needed.

I will wait till Graeme comes back and discuss this with him: 
The solution with 'Hidden' property does look very much like a hack :/


> This however doesn't fix the Cyrillic and other texts :(

Well:

in each case thank you very much for identifying the problem, 
this is a great help !

Michael.



More information about the fpc-pascal mailing list