From d97701f9846fab5f7f9d10d263a90eb845cb6bde Mon Sep 17 00:00:00 2001 From: Koki Takahashi Date: Sat, 10 Dec 2016 03:27:57 +0900 Subject: [PATCH] Add Telugu --- data/codepoints/0A00.yml | 2 +- data/codepoints/0C00.yml | 101 +++++++++++++++++++++++++++++++++++++++ lib/generate-svg.ls | 2 + 3 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 data/codepoints/0C00.yml diff --git a/data/codepoints/0A00.yml b/data/codepoints/0A00.yml index 846d288..bb83524 100644 --- a/data/codepoints/0A00.yml +++ b/data/codepoints/0A00.yml @@ -339,7 +339,7 @@ 0BAB..0BAD: notdef 0BBA..0BBB: notdef - 0BBC: + 0BBC: # early mapping svg: true combining: true diff --git a/data/codepoints/0C00.yml b/data/codepoints/0C00.yml new file mode 100644 index 0000000..ee88bae --- /dev/null +++ b/data/codepoints/0C00.yml @@ -0,0 +1,101 @@ +# Telugu + +0C00..0C7F: + font: noto-telugu + transform: scale(0.8) + + 0C00: + svg: true + combining: true + + 0C01: + font: noto-telugu + combining: true + transform: scale(0.7) translate(0.4, -0.15) + + 0C02: + font: noto-telugu + combining: true + transform: scale(0.7) translate(0.5, -0.15) + + 0C03: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.3, -0.1) + + 0C04: notdef + 0C0D: notdef + 0C11: notdef + 0C29: notdef + + 0C34: + svg: true + transform: scale(0.8) + + 0C3A..0C3C: notdef + + 0C3E..0C40: + font: noto-telugu + combining: true + transform: scale(0.7) translate(0.3, -0.15) + + 0C41: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.4, -0.1) + + 0C42: + font: noto-telugu + combining: true + transform: scale(0.5, 0.8) translate(0.7, -0.1) + + 0C43..0C44: + font: noto-telugu + combining: true + transform: scale(0.7, 0.8) translate(0.4, -0.1) + + 0C45: notdef + + 0C46..0C48: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.2, -0.1) + + 0C49: notdef + + 0C4A..0C4D: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.4, -0.1) + + 0C4E..0C54: notdef + + 0C55: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.1, -0.1) + + 0C56: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.3, -0.1) + + 0C57: notdef + + 0C5A: + svg: true + transform: scale(0.8) + + 0C5B..0C5F: notdef + + 0C60: + font: noto-telugu + transform: scale(0.6, 0.8) + + 0C62..0C63: + font: noto-telugu + combining: true + transform: scale(0.8) translate(0.3, -0.2) + + 0C64..0C65: notdef + 0C70..0C77: notdef diff --git a/lib/generate-svg.ls b/lib/generate-svg.ls index e5cd0d8..dad16d9 100644 --- a/lib/generate-svg.ls +++ b/lib/generate-svg.ls @@ -46,6 +46,8 @@ font-data = path: 'Noto/NotoSerifGujarati-Regular.ttf' noto-tamil: path: 'Noto/NotoSerifTamil-Regular.ttf' + noto-telugu: + path: 'Noto/NotoSerifTelugu-Regular.ttf' scheherazade: path: 'Scheherazade/Scheherazade-2.100/Scheherazade-Regular.ttf' annapurna: