Forum Bugs

problem after upgrade prince 6 -> 7

jwaiwit
Hi,

I have using prince since version 6 , and embed some information in pdf file. Using perl CAM::PDF to extract plain text data from pdf page. But it's look strange when upgrade to version 7.

such as I was embeding text "PLAINTEXT" in pdf page but extracted from page I got a data
BT 1.0000 g 28.3465 768.1733 Td /F1 12.0000 Tf (PLA) Tj 29.1094 0.0000 Td (IN) Tj 18.7383 0.0000 Td (T) Tj 7.8691 0.0000 Td (EXT) Tj 60.2637 0.0000  ET


instead of got "PLAINTEXT".

it's look like there have more information from text, I guess it's look like a width number.

then It's crash my program. Hope you could help me about the problem.
mikeday
This is due to kerning, eg. when characters "AV" are placed closer together, for a nicer appearance. You can try using a font that does not include kerning, such as Times New Roman, or disable it using "font-variant: prince-no-kerning".
jwaiwit
thanks you, I will have a try then report back later on Monday.
jwaiwit
mikeday wrote:
This is due to kerning, eg. when characters "AV" are placed closer together, for a nicer appearance. You can try using a font that does not include kerning, such as Times New Roman, or disable it using "font-variant: prince-no-kerning".


@mikeday ,

Thanks a lot , work like a charm now. :)

thanks for good support.