* CJK hyphenation/line breaking [not found] <mailman.2700.1331318785.4232.ntg-context@ntg.nl> @ 2012-03-09 19:23 ` S Barmeier 2012-03-09 19:31 ` Wolfgang Schuster 0 siblings, 1 reply; 2+ messages in thread From: S Barmeier @ 2012-03-09 19:23 UTC (permalink / raw) To: ntg-context Korean has spaces, so I guess I am only asking for CJ, but I was wondering if it is possible to enable line breaking, i.e. cheap hyphenation for CJ(K). I can only speak with certainty for Japanese, but at least here the rules are quite simple. There is no kerning for Japanese characters, so when the line is full it spaces all characters evenly (preferably as close together as the font allows) and dumps everything else to the next line, no matter if it is in the middle of a word (a concept not quite as well defined as in languages with spaces anyway). I can do this by hand if absolutely necessary, by inserting fake spaces "\ \!", but this gets quite tedious, and it seems line breaking for CJ(K) would be nice to have. I remember it working about a year and a half ago(?)... Severin ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CJK hyphenation/line breaking 2012-03-09 19:23 ` CJK hyphenation/line breaking S Barmeier @ 2012-03-09 19:31 ` Wolfgang Schuster 0 siblings, 0 replies; 2+ messages in thread From: Wolfgang Schuster @ 2012-03-09 19:31 UTC (permalink / raw) To: mailing list for ConTeXt users Am 09.03.2012 um 20:23 schrieb S Barmeier: > Korean has spaces, so I guess I am only asking for CJ, but I was > wondering if it is possible to enable line breaking, i.e. cheap > hyphenation for CJ(K). > I can only speak with certainty for Japanese, but at least here the > rules are quite simple. There is no kerning for Japanese characters, so > when the line is full it spaces all characters evenly (preferably as > close together as the font allows) and dumps everything else to the next > line, no matter if it is in the middle of a word (a concept not quite as > well defined as in languages with spaces anyway). > I can do this by hand if absolutely necessary, by inserting fake spaces > "\ \!", but this gets quite tedious, and it seems line breaking for > CJ(K) would be nice to have. I remember it working about a year and a > half ago(?)… \setscript[hanzi] \starttext … \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-09 19:31 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.2700.1331318785.4232.ntg-context@ntg.nl> 2012-03-09 19:23 ` CJK hyphenation/line breaking S Barmeier 2012-03-09 19:31 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).