Re: [fpc-pascal] bug in make install ?

2019-03-19 Thread Joost van der Sluis
On 3/19/19 2:06 PM, Joost van der Sluis wrote: On 3/19/19 11:35 AM, Mattias Gaertner via fpc-pascal wrote: On Tue, 19 Mar 2019 11:17:42 +0100 Joost van der Sluis wrote: [...] Probably it fails because I have old 2.6.4 fppkg configs. I ran the samplecfg, which said it would create ~/.fpc.cf

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

2019-03-19 Thread LacaK
Is there way how to get correct PDF file WITHOUT embedding full Courier font? You can embed only the needed characters for every font ? Probably yes, but fpPDF will not handle this automatically? AFAIK I can not control this. But why I get unreadable characters? What I am doing wrong ? I

Re: [fpc-pascal] bug in make install ?

2019-03-19 Thread Joost van der Sluis
On 3/19/19 11:35 AM, Mattias Gaertner via fpc-pascal wrote: On Tue, 19 Mar 2019 11:17:42 +0100 Joost van der Sluis wrote: [...] Probably it fails because I have old 2.6.4 fppkg configs. I ran the samplecfg, which said it would create ~/.fpc.cfg, ~/.fp, ... Then the error was gone. I restor

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

2019-03-19 Thread LacaK
Hi, 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). Probably it is because I use standard Courier font, which is expecting only "Latin characters" ? I use: FontIndex := PDF.AddFont('Courie

Re: [fpc-pascal] bug in make install ?

2019-03-19 Thread Mattias Gaertner via fpc-pascal
On Tue, 19 Mar 2019 11:17:42 +0100 Joost van der Sluis wrote: >[...] > > Probably it fails because I have old 2.6.4 fppkg configs. I ran the samplecfg, which said it would create ~/.fpc.cfg, ~/.fp, ... Then the error was gone. I restored the files from backup. Initial dialog pops up with erro

Re: [fpc-pascal] bug in make install ?

2019-03-19 Thread Joost van der Sluis
On 3/18/19 11:21 PM, Mattias Gaertner via fpc-pascal wrote: On Mon, 18 Mar 2019 22:04:17 +0100 Joost van der Sluis wrote: Definitely. It would be even better to tell the full file name. e.g. /etc/fpcpkg.cfg. Problem is that it could also be in the fppkg-compiler configuration file (by defa

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

2019-03-19 Thread Michael Van Canneyt
On Tue, 19 Mar 2019, LacaK wrote: Hi, 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). Probably it is because I use standard Courier font, which is expecting only "Latin characters" ? I use:

[fpc-pascal] fpPDF and support of Latin2 charset

2019-03-19 Thread LacaK
Hi, 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). Probably it is because I use standard Courier font, which is expecting only "Latin characters" ? I use: FontIndex := PDF.AddFont('Courier');