summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-05-25 11:35:06 +0300
committerTor Lillqvist <tml@collabora.com>2016-05-25 11:38:57 +0300
commit2f6f409c7a2355f0d9c2267856cb24694cfc25e6 (patch)
tree80eb9a672a24c935d52602e9a3a213e38bb7513b /officecfg
parent2a4f9cbf01c8ee4ecf571e4a8b9e121050e7bd95 (diff)
tdf#98792: Add the 'Nirmala UI' font as fallback for 'Gautami' for Telugu
Nirmala UI is the new pan-Indic font on Windows 8 and newer, and apparently not optional. It supports the Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, and Sinhala scripts. So we should list it in many more places, I guess, not just for Telugu. Note that this commit does not really fix the root issue(s) in tdf#98792, i.e. why the shaping is wrong when, and/or why the font (or glyph?) fallback works differently depending on whether the document is passed on the command line or opened from the Start Centre. See bug report for more notes. Change-Id: Ife361475716123781fb4a4923701890206b28b26
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/VCL.xcu35
1 files changed, 29 insertions, 6 deletions
diff --git a/officecfg/registry/data/org/openoffice/VCL.xcu b/officecfg/registry/data/org/openoffice/VCL.xcu
index 3090922c2f26..52cacdaca18e 100644
--- a/officecfg/registry/data/org/openoffice/VCL.xcu
+++ b/officecfg/registry/data/org/openoffice/VCL.xcu
@@ -781,22 +781,22 @@
</node>
<node oor:name="te" oor:op="replace">
<prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string">
- <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Arial Unicode MS;Lucida Sans Unicode;clearlyU</value>
+ <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Nirmala UI;Arial Unicode MS;Lucida Sans Unicode;clearlyU</value>
</prop>
<prop oor:name="CTL_DISPLAY" oor:op="replace" oor:type="xs:string">
- <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Arial Unicode MS</value>
+ <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Nirmala UI;Arial Unicode MS</value>
</prop>
<prop oor:name="CTL_HEADING" oor:op="replace" oor:type="xs:string">
- <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Arial Unicode MS</value>
+ <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Nirmala UI;Arial Unicode MS</value>
</prop>
<prop oor:name="CTL_PRESENTATION" oor:op="replace" oor:type="xs:string">
- <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Arial Unicode MS</value>
+ <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Nirmala UI;Arial Unicode MS</value>
</prop>
<prop oor:name="CTL_SPREADSHEET" oor:op="replace" oor:type="xs:string">
- <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Arial Unicode MS</value>
+ <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Nirmala UI;Arial Unicode MS</value>
</prop>
<prop oor:name="CTL_TEXT" oor:op="replace" oor:type="xs:string">
- <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Arial Unicode MS</value>
+ <value>Lohit Telugu;Gautami;Lucidasans;Lucida Sans;Nirmala UI;Arial Unicode MS</value>
</prop>
</node>
<node oor:name="ur" oor:op="replace">
@@ -2995,6 +2995,29 @@
<value>Normal,Serif</value>
</prop>
</node>
+ <node oor:name="gautami" oor:op="replace">
+ <prop oor:name="SubstFonts">
+ <value>nirmalaui;arialunicodems;lucidaunicode</value>
+ </prop>
+ <prop oor:name="SubstFontsMS">
+ <value/>
+ </prop>
+ <prop oor:name="SubstFontsPS">
+ <value/>
+ </prop>
+ <prop oor:name="SubstFontsHTML">
+ <value>sans-serif</value>
+ </prop>
+ <prop oor:name="FontWeight">
+ <value>Normal</value>
+ </prop>
+ <prop oor:name="FontWidth">
+ <value>Normal</value>
+ </prop>
+ <prop oor:name="FontType">
+ <value>Normal,SansSerif</value>
+ </prop>
+ </node>
<node oor:name="geneva" oor:op="replace">
<prop oor:name="SubstFonts">
<value>albanyamt;albany;arial;nimbussansl;helvetica;lucidasans;lucida;geneva;helmet;sansserif;nimbussans;andalesansui;arialunicodems;lucidaunicode</value>