Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can not be broken after some Chinese punctuations in 'full_width_close' category. I think it should be: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ... The same problem also arises here: local injectors = { -- [previous] [current] ... ... ... half_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... It seems like it should be: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ... -- Best regards, Li Yanrui
Yanrui Li wrote:
Hi Hans,
In the *hanzi* part of scrp-cjk.lua, there is:
local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ...
This causes that lines can not be broken after some Chinese punctuations in 'full_width_close' category. I think it should be:
local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ...
The same problem also arises here:
local injectors = { -- [previous] [current] ... ... ... half_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ...
It seems like it should be:
local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ...
i have no problem patching that but can you also make a test file then so that we have some benchmark / reference? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Yanrui Li