Fixes issue #80 by not excluding Chinese origin characters when calling SplitText(). Also fixes a rendering bug with zero width characters (found in languages like Thai).
fixed rendering bug for th, zh, ja #81
daksh-sehgal/main into main
This fix is great, but there is a problem that if the text contains Spaces, it will force line breaks.
I found the source of the problem, commented out the following in the MulitCell(), as well as the SplitText() and write(). Why do spaces need to be wrapped, maybe some languages require this?
ifc==' '{sep=ils=lns++}
thanks for the PR. (and apologies for the belated answer)
could you add a testcase to this PR ?
(perhaps also adding a testcase exercizing what @Kohirus mentioned ?)
thanks again.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?