mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-23 00:30:10 +00:00
49 lines
2.0 KiB
Handlebars
49 lines
2.0 KiB
Handlebars
{{!
|
|
The w:fonts node contains font setup information for the Word document,
|
|
including the default font as well as optional descriptions of fonts via
|
|
the <w:font> element.
|
|
|
|
This node is optional, but if omitted, Word will create a default <w:fonts>
|
|
section on save, with defaults (like Times New Roman) that are probably not
|
|
ideal for a specific use case. So we include this section by default, and set
|
|
the fonts to the theme's declared typography settings.
|
|
}}
|
|
|
|
<w:fonts>
|
|
{{!
|
|
The defaultFonts element defines the font to use when no other font or
|
|
formatting is specified. It's optional, but if not specified, Word will
|
|
fill it in to a default value. (Usually, it sets all four font families
|
|
to "Times New Roman").
|
|
}}
|
|
<w:defaultFonts w:ascii="{{{fontFace 'default' 'Calibri'}}}" w:fareast="{{{fontFace 'default' 'Calibri'}}}" w:h-ansi="{{{fontFace 'default' 'Calibri'}}}" w:cs="{{{fontFace 'default' 'Calibri'}}}"/>
|
|
|
|
{{!
|
|
Here go individual <w:font> entries. These are not required to actually use
|
|
any fonts, but are used by Word when it has to reconstruct a missing font.
|
|
Since fonts are not embedded into Word documents, this allows Word to
|
|
display the document without losing too much visual fidelity.
|
|
|
|
In a standard Word document, this first entry would also be set to Times
|
|
New Roman.
|
|
}}
|
|
|
|
<w:font w:name="{{{fontFace 'default' 'Calibri'}}}">
|
|
<w:panose-1 w:val="02020603050405020304"/>
|
|
<w:charset w:val="00"/>
|
|
<w:family w:val="Roman"/>
|
|
<w:pitch w:val="variable"/>
|
|
<w:sig w:usb-0="E0002AFF" w:usb-1="C0007841" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="000001FF" w:csb-1="00000000"/>
|
|
</w:font>
|
|
|
|
|
|
<w:font w:name="Calibri">
|
|
<w:panose-1 w:val="020F0502020204030204"/>
|
|
<w:charset w:val="00"/>
|
|
<w:family w:val="Swiss"/>
|
|
<w:pitch w:val="variable"/>
|
|
<w:sig w:usb-0="A00002EF" w:usb-1="4000207B" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="0000009F" w:csb-1="00000000"/>
|
|
</w:font>
|
|
|
|
</w:fonts>
|