[Solved] Vertical Position Problem of Chinese in textbox

Discuss the word processor

[Solved] Vertical Position Problem of Chinese in textbox

Postby hk_archie » Thu Jun 06, 2019 12:36 pm

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 38 times
Form_problem.pdf
The two textbox are the same. The vertical position change when input Chinese.
(7.08 KiB) Downloaded 41 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
hk_archie
 
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Postby Lupp » Thu Jun 06, 2019 1:39 pm

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 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2535
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Postby hk_archie » Sat Jun 08, 2019 10:23 am

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
hk_archie
 
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Postby Lupp » Sat Jun 08, 2019 1:44 pm

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 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2535
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Postby hk_archie » Sat Jun 08, 2019 2:57 pm

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
hk_archie
 
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Postby Lupp » Sat Jun 08, 2019 9:01 pm

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 43 times
On Windows 10: LibreOffice 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2535
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Postby Lupp » Sat Jun 08, 2019 9:25 pm

The odt containing the texts in the fields, edited with AOO 4.1.5
Form_problem_Next.odt
(10.06 KiB) Downloaded 41 times

The pdf created from the above odt with AOO
Form_problem_Next.pdf
(3.33 KiB) Downloaded 44 times
On Windows 10: LibreOffice 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2535
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Postby hk_archie » Thu Jun 13, 2019 5:06 pm

screen.PNG
This is how it looks like in my system!

Interesting!

Lupp, thank you very much for your help!
OpenoOffice 4.1.6
hk_archie
 
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm

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

Postby Lupp » Thu Jun 13, 2019 7:38 pm

No further idea so far.
On Windows 10: LibreOffice 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2535
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

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

Postby hk_archie » Fri Jun 14, 2019 4:17 pm

I've tried to use Foxit to open the files, it works well!!
OpenoOffice 4.1.6
hk_archie
 
Posts: 5
Joined: Thu Jun 06, 2019 12:20 pm


Return to Writer

Who is online

Users browsing this forum: MSN [Bot] and 28 guests