From 1d04386bab3e3b23ed97ba4e4dcb64c4a09e1a2d Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 12 Dec 2015 20:33:38 +0100 Subject: [PATCH] Update documentation. --- NEWS | 14 ++++++++++++++ doc/taranges.sed | 1 + doc/template.tex | 15 +++++++++++---- doc/ttfautohint-1.pandoc | 24 ++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 7c7076e..6b9eae8 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,17 @@ +Version 1.5 (XXXX-XX-XX) +------------------------ + +* Support for Khmer script. + +* ttfautohintGUI can now be compiled with Qt5. + +* Bug fix: Too many delta control instructions for a single glyph caused + a bytecode stack overflow, making the MS rasterizer ignore all hinting + instructions for this glyph. + +* Bug fix: Don't create multiple `TTFA` tables in font. + + Version 1.4.1 (2015-Oct-17) --------------------------- diff --git a/doc/taranges.sed b/doc/taranges.sed index 5dc8a50..1a67131 100644 --- a/doc/taranges.sed +++ b/doc/taranges.sed @@ -9,6 +9,7 @@ History\ /^[{}]/ d /lat[bp]_nonbase_uniranges/ d +/khms_nonbase_uniranges/ d s|.*ta_\(.*\)_nonbase_uniranges.*|Table: `\1` non-base characters\ \ diff --git a/doc/template.tex b/doc/template.tex index 15f461f..d4712a4 100644 --- a/doc/template.tex +++ b/doc/template.tex @@ -1,6 +1,6 @@ % For non-ASCII characters, this template only works with luatex or XeTeX. -% Arabic, Devanagari, Telugu, Lao, and Thai support currently works with -% XeTeX only. +% Arabic, Devanagari, Khmer, Lao, Telugu, and Thai support currently works +% with XeTeX only. \documentclass[$if(fontsize)$$fontsize$,$endif$% $if(lang)$$lang$,$endif$% @@ -12,18 +12,25 @@ \usepackage{libertine} \ifxetex - \usepackage{ucharclasses} - + % with newer releases of `fontspec', fonts should be defined before + % including `ucharclasses' \newfontfamily{\arabicfont}[Script=Arabic]{Amiri} \newfontfamily{\devanagarifont}[Script=Devanagari]{FreeSerif} + \newfontfamily{\khmerfont}[Script=Khmer]{KhmerOS} \newfontfamily{\laofont}[Script=Lao]{NotoSerifLao} \newfontfamily{\telugufont}[Script=Telugu]{Pothana2000} \newfontfamily{\thaifont}[Script=Thai]{FreeSerif} + \usepackage{ucharclasses} + \setTransitionTo{Arabic}{\begingroup\arabicfont} \setTransitionFrom{Arabic}{\endgroup} \setTransitionTo{Devanagari}{\begingroup\devanagarifont} \setTransitionFrom{Devanagari}{\endgroup} + \setTransitionTo{Khmer}{\begingroup\khmerfont} + \setTransitionFrom{Khmer}{\endgroup} + \setTransitionTo{KhmerSymbols}{\begingroup\khmerfont} + \setTransitionFrom{KhmerSymbols}{\endgroup} \setTransitionTo{Lao}{\begingroup\laofont} \setTransitionFrom{Lao}{\endgroup} \setTransitionTo{Telugu}{\begingroup\telugufont} diff --git a/doc/ttfautohint-1.pandoc b/doc/ttfautohint-1.pandoc index 3d8b9a6..7867754 100644 --- a/doc/ttfautohint-1.pandoc +++ b/doc/ttfautohint-1.pandoc @@ -700,6 +700,7 @@ Table: script-specific standard characters of the 'latin' writing system `grek` 'ο', U+03BF, GREEK SMALL LETTER OMICRON 'Ο', U+039F, GREEK CAPITAL LETTER OMICRON `hebr` 'ם', U+05DD, HEBREW LETTER FINAL MEM + `khmer` '០', U+17E0, KHMER DIGIT ZERO `lao` '໐', U+0ED0, LAO DIGIT ZERO `latn` 'o', U+006F, LATIN SMALL LETTER O 'O', U+004F, LATIN CAPITAL LETTER O @@ -715,6 +716,8 @@ Table: standard characters of the 'latin' writing system, special scripts Script Standard characters ---------- --------------------- + `khms` '᧡', U+19E1, KHMER SYMBOL MUOY KOET + '᧪', U+19EA, KHMER SYMBOL DAP KOET `latb` 'ₒ', U+2092, LATIN SUBSCRIPT SMALL LETTER O '₀', U+2080, SUBSCRIPT ZERO `latp` 'ᵒ', U+1D52, MODIFIER LETTER SMALL O @@ -808,6 +811,27 @@ Table: `hebr` blue zones 3 bottom of descenders of letters ק ך ן ף ץ +Table: `khmr` blue zones + + ID Blue zone Characters + ---- ----------- ------------ + 1 top of letters ខ ទ ន ឧ ឩ ា + 2 top of subscript cluster components ក្ក ក្ខ ក្គ ក្ថ + 3 bottom of letters ខ ឃ ច ឋ ប ម យ ឲ + 4 bottom of descenders ត្រ រៀ ឲ្យ អឿ + 5 bottom of large descenders ន្ត្រៃ ង្ខ្យ ក្បៀ ច្រៀ ន្តឿ ល្បឿ + + +Table: `khms` blue zones + + ID Blue zone Characters + ---- ----------- ------------ + 1 top of symbols for waxing ᧠ ᧡ + 2 bottom of symbols for waning ᧶ ᧹ + +Khmer symbols are used for lunar dates. + + Table: `lao` blue zones ID Blue zone Characters -- 2.11.4.GIT