Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-14 Thread Dan Jacobson
OK, I now installed fonts-droid-fallback. Alas, no change.

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-14 Thread Jonas Smedegaard
Do you have fonts-droid-fallback installed? If not, please try install it and see if it improves ḿatters. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-13 Thread Dan Jacobson
sh /tmp/text.sh 2 n.txt C.UTF-8:2 name type encoding emb sub uni object ID - --- --- --- - XEVJPT+WenQuanYiZenHei CID TrueType Identity-H

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-13 Thread Jonas Smedegaard
Quoting Dan Jacobson (2023-04-13 22:13:23) > I get > 2 n.txt > C.UTF-8:2 > zh_CN.UTF-8:5 > zh_TW.UTF-8:5 Try replace this line in your script: echo 郵編123 > $t with this: LC_ALL=C.UTF-8 echo 郵編123 > $t Otherwise the script will be conditional to locale of testing environment

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-13 Thread Dan Jacobson
set -e cd /tmp t=n.txt echo 郵編123 > $t echo >> $t wc -l $t for l in C.UTF-8 zh_CN.UTF-8 zh_TW.UTF-8 do printf $l:\\t LC_ALL=$l abiword --to=pdf $t LC_ALL=C.UTF-8 pdftotext -nopgbrk n.pdf -|wc -l #pdffonts n.pdf done I get 2 n.txt C.UTF-8:2 zh_CN.UTF-8:5 zh_TW.UTF-8:

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-13 Thread Jonas Smedegaard
Quoting Jonas Smedegaard (2023-04-13 13:13:34) > Control: tag -1 + unreproducible moreinfo > > Hi Jidanni, > > Quoting Dan Jacobson (2023-04-13 02:56:11) > > Here we see that there is a bug in the pdf creator: > > { echo 哈哈 郵編123 哈哈; echo 郵編123;} > /tmp/n.txt > > abiword --to=pdf /tmp/n.txt > >

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-13 Thread Jonas Smedegaard
Control: tag -1 + unreproducible moreinfo Hi Jidanni, Quoting Dan Jacobson (2023-04-13 02:56:11) > Here we see that there is a bug in the pdf creator: > { echo 哈哈 郵編123 哈哈; echo 郵編123;} > /tmp/n.txt > abiword --to=pdf /tmp/n.txt > When viewing the resultant pdf, one line is garbled. > > But if

Bug#1034332: Occasional garbled Chinese pdf lines

2023-04-13 Thread Dan Jacobson
Package: abiword Version: 3.0.5~dfsg-3.2 File: /usr/bin/abiword Here we see that there is a bug in the pdf creator: { echo 哈哈 郵編123 哈哈; echo 郵編123;} > /tmp/n.txt abiword --to=pdf /tmp/n.txt When viewing the resultant pdf, one line is garbled. But if I use LC_ALL=C abiword --to=pdf /tmp/n.txt