[fpc-pascal] Linux DRM (Direct Rendering Manager) porting

2019-03-21 Thread Rainer Stratmann
Currently I am porting some C code from the Linux DRM Mode-Setting API to pascal. First in my own way. So that it is usable for me. But it would be possible to make a separate unit out of it, of course. I could compile the modeset.c code with the Linux compiler. It runs well on Linux. It's a

Re: [fpc-pascal] fpPDF and support of Latin2 charset

2019-03-21 Thread Graeme Geldenhuys
I attached 2 patches to the bug tracker which solves the problem for me. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp ___

Re: [fpc-pascal] fpPDF and support of Latin2 charset

2019-03-21 Thread Graeme Geldenhuys
On 21/03/2019 13:20, LacaK wrote: > I think that problem is related to font parsing. As I wrote in comment > to bug report #35251 there is incorrectly extracted information about > char Widths ... look into attached generated PDF there ... Ah yes, I see what you mean. Apologies, I didn’t read

Re: [fpc-pascal] fpPDF and support of Latin2 charset

2019-03-21 Thread LacaK
I am trying work with fpPDF. I can create PDF document, but character out of ASCII range are displayed wrong (in PDF file they are stored as UTF8). First things first... what version of FPC are you using? FPC 3.0.4 or FPC 3.1.1 - just so I know what code to look at. I tried both versions

Re: [fpc-pascal] fpPDF and support of Latin2 charset

2019-03-21 Thread Graeme Geldenhuys
On 19/03/2019 08:46, LacaK wrote: > I am trying work with fpPDF. I can create PDF document, but character > out of ASCII range are displayed wrong (in PDF file they are stored as > UTF8). First things first... what version of FPC are you using? FPC 3.0.4 or FPC 3.1.1 - just so I know what code