On Wed, Apr 6, 2016 at 2:14 PM, Michael Van Canneyt <mich...@freepascal.org> wrote: [...]
> Why is this patch needed ? It should not be needed at all ? > Sorry, I sent a wrong patch, please consider this new one in attachment. My patch just fix wrong chars in the generated PDF, eg, before the apply it, I got: ... English: Hello, World! Greek: Ge?? s?? ??s Polish: Witaj swiecie Portuguese: Ol? mundo ... After apply it: ... Languages: English: Hello, World! Greek: Γειά σου κόσμος Polish: Witaj świecie Portuguese: Olá mundo ... I needed to apply it even after update my FPC to rev. 33428. In each case it will not be applied, since it assumes use of lazarus, and > that is not acceptable in the FCL. Indeed. ps. about the hints/warnings, see the compiler log below: Compile Project, Target: testfppdf.exe: Success, Warnings: 3, Hints: 4 fppdf.pp(1049,28) Hint: Local variable "Buffer" does not seem to be initialized fppdf.pp(1028,3) Note: Local variable "I" not used fppdf.pp(3194,31) Warning: Implicit string type conversion from "AnsiString" to "WideString" fppdf.pp(3195,35) Warning: Implicit string type conversion from "AnsiString" to "WideString" fppdf.pp(808,44) Hint: Parameter "EmbeddedFontNum" not used fppdf.pp(808,70) Hint: Parameter "FontDef" not used fppdf.pp(3308,37) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" -- Silvio Clécio
0001-fix-wrong-chars.patch
Description: Binary data
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus