Page 1 of 1

[Solved] Vertical Position Problem of Chinese in textbox

Posted: Thu Jun 06, 2019 12:36 pm
by hk_archie
I was created a form with textbox and than export into PDF. The vertical position of the text will lower if Chinese is in the box. Please refer to the files attached for details.

How can I solve this problem?

Thanks in advance for your help.

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Thu Jun 06, 2019 1:39 pm
by Lupp
I downloaded your .odt and opened it with LibreOffice V 6.2.3.
The newly created .pdf form did not show the effect you complain about (and which also shows in my .pdf program with your file).
Thus: You may have found a bug.
At least I don't know what specifics of your way of exporting might have afflicted the result.

Addendum: If I do the export from yor .odt by Apache OpenOffice 4.1.5 the issue also is absent. It may be a problem caused by specifics of your system / AOO install / fonts / settings / ...
I cannot know.

Next addendum: If I edit the second field of your .pdf by appending any character, quit edit, and undo the edit then, the issue vanishes.

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Sat Jun 08, 2019 10:23 am
by hk_archie
Hello, Lupp, Thank you very much for your reply!

I was using 4.1.5 (English version) to create the form. The problem found and I tried to upgrade the latest version 4.1.6 (Chinese version) to see if the problem still exist.
So, interesting to know you don't have such problem when using 4.1.5!

Not quite understand your addendum 2... I'm using Acrobat reader DC to fill the form.

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Sat Jun 08, 2019 1:44 pm
by Lupp
I used Foxit Reader, and I saw the bad position.
Anyway I was (and you also you should be) able to edit the fields. If I did so for the field containing Chinese text, and appended an ordinary space to it, the issue immediately vanished. It did not recur when I left the field, and also not after I had removed the space again, and quit editing a second time.

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Sat Jun 08, 2019 2:57 pm
by hk_archie
Hello, Lupp, Thanks again for your help!

Do you mean edit the field in PDF reader? Do you mind attach the edited file for me follow your solution?

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Sat Jun 08, 2019 9:01 pm
by Lupp
Don't feel sure, it's a "solution".

That's how it looked in my reader:
Form_Problem.png
And that's the pdf:
Form_problem_New.pdf
(14.43 KiB) Downloaded 144 times

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Sat Jun 08, 2019 9:25 pm
by Lupp
The odt containing the texts in the fields, edited with AOO 4.1.5
Form_problem_Next.odt
(10.06 KiB) Downloaded 161 times
The pdf created from the above odt with AOO
Form_problem_Next.pdf
(3.33 KiB) Downloaded 160 times

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Thu Jun 13, 2019 5:06 pm
by hk_archie
This is how it looks like in my system!
This is how it looks like in my system!
Interesting!

Lupp, thank you very much for your help!

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Thu Jun 13, 2019 7:38 pm
by Lupp
No further idea so far.

Re: Vertical Position Problem of Chinese in textbox (form)

Posted: Fri Jun 14, 2019 4:17 pm
by hk_archie
I've tried to use Foxit to open the files, it works well!!