[Solved] Vertical Position Problem of Chinese in textbox

Discuss the word processor
Post Reply
hk_archie
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

[Solved] Vertical Position Problem of Chinese in textbox

Post 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.
Attachments
Form_problem.odt
The original writer file.
(8.94 KiB) Downloaded 133 times
Form_problem.pdf
The two textbox are the same. The vertical position change when input Chinese.
(7.08 KiB) Downloaded 138 times
Last edited by Hagar Delest on Sat Jun 15, 2019 1:50 pm, edited 1 time in total.
Reason: tagged solved
OpenoOffice 4.1.6
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Post 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.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
hk_archie
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Post 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.
Attachments
export_PDF.PNG
OpenoOffice 4.1.6
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Post 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.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
hk_archie
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Post 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?
OpenoOffice 4.1.6
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Post 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 139 times
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Post by Lupp »

The odt containing the texts in the fields, edited with AOO 4.1.5
Form_problem_Next.odt
(10.06 KiB) Downloaded 152 times
The pdf created from the above odt with AOO
Form_problem_Next.pdf
(3.33 KiB) Downloaded 148 times
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
hk_archie
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Post 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!
OpenoOffice 4.1.6
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Post by Lupp »

No further idea so far.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
hk_archie
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Post by hk_archie »

I've tried to use Foxit to open the files, it works well!!
OpenoOffice 4.1.6
Post Reply