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.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal