D
David Thielen
Ok, I think I've got this - please correct me if I am wrong:
There is 0 or 1 theme file so we just look for a theme file.
In a theme file there can only be one <a:fontScheme ...> so we just look for
ti and if it's there, use it.
The major and minor fonts have 3 general font settings, a:latin, a:ea, and
a:cs (the rest are language specific). If it has a setting of typeface=""
that means it has no them font for that charset type.
These then map over to styles.xml where in the w:rFonts you can have
w:asciiTheme="minorHAnsi" which means for ascii characters use the a:latin
font from the minotFont setting in theme1.xml. The mapping is:
minorAscii -> use a:latin
minorHAnsi -> use a:latin
minorEastAsia -> use a:ea
minorBidi -> use a:cs
There is no latinTheme so the default latin font is the ascii one.
Finally, rFonts has cstheme= rather than csTheme= - is that a Word bug or is
that one purposely not capitalized?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
There is 0 or 1 theme file so we just look for a theme file.
In a theme file there can only be one <a:fontScheme ...> so we just look for
ti and if it's there, use it.
The major and minor fonts have 3 general font settings, a:latin, a:ea, and
a:cs (the rest are language specific). If it has a setting of typeface=""
that means it has no them font for that charset type.
These then map over to styles.xml where in the w:rFonts you can have
w:asciiTheme="minorHAnsi" which means for ascii characters use the a:latin
font from the minotFont setting in theme1.xml. The mapping is:
minorAscii -> use a:latin
minorHAnsi -> use a:latin
minorEastAsia -> use a:ea
minorBidi -> use a:cs
There is no latinTheme so the default latin font is the ascii one.
Finally, rFonts has cstheme= rather than csTheme= - is that a Word bug or is
that one purposely not capitalized?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm