[gentium-commits] [SCM] gentium updated: r85 - trunk/gentium/source/fonts/gentium-tug/type1
Pavel Far??
INVALID.NOREPLY at gnu.org.ua
Mon Apr 4 19:04:34 CEST 2022
Author: pavel
Date: 2022-04-04 17:04:34 +0000 (Mon, 04 Apr 2022)
New Revision: 85
Modified:
trunk/gentium/source/fonts/gentium-tug/type1/kerncorrection.py
Log:
add more Cyrillic kerns
Sort the lines to get more consistent diff in the future.
Modified: trunk/gentium/source/fonts/gentium-tug/type1/kerncorrection.py
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/type1/kerncorrection.py 2022-04-04 16:44:10 UTC (rev 84)
+++ trunk/gentium/source/fonts/gentium-tug/type1/kerncorrection.py 2022-04-04 17:04:34 UTC (rev 85)
@@ -178,6 +178,7 @@
# first pair has Latin letters, the second pair has Cyrillic letters; probably not very obvious
# there is no kern for 'X O' in the fonts
kern_pairs_cyrillic = [
+ # sort lines before commit!
["A C", "А С"],
["A O", "А О"],
["A T", "А Т"],
@@ -196,6 +197,11 @@
["T e", "Т е"],
["T o", "Г о"],
["T o", "Т о"],
+ ["Y A", "Ү А"],
+ ["Y O", "Ү О"],
+ ["Y a", "Ү а"],
+ ["Y e", "Ү е"],
+ ["Y o", "Ү о"],
["e x", "е х"],
["o x", "о х"],
["x e", "х е"],
@@ -204,6 +210,7 @@
# similar Cyrillic letters that come first in the kerning pair
cyrillic_left_classes = {
+ # sort lines before commit!
"А": ["А"],
"Г": ["Г", "Ӷ"],
"О": ["О"],
@@ -213,21 +220,23 @@
"е": ["е", "ё"],
"о": ["о"],
"х": ["х", "ҳ", "ӽ"],
+ "Ү": ["Ү"], # not Russian
}
# similar Cyrillic letters that come second in the kerning pair
cyrillic_right_classes = {
+ # sort lines before commit!
"А": ["А"],
"О": ["О"],
"С": ["С", "Ҫ"],
"Т": ["Т", "Ҭ"],
"Х": ["Х", "Ҳ", "Ӽ"],
- "Ү": ["Ү"], # not Russian
"а": ["а", "ӕ"],
"е": ["е", "ё"],
"о": ["о"],
+ "у": ["у", "ў"],
"х": ["х", "ҳ", "ӽ"],
- "у": ["у", "ў"],
+ "Ү": ["Ү"], # not Russian
}
def __init__(self, filename):
More information about the gentium-commits
mailing list.