mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
Odt writer: Modernize Preformatted Text & Source Text styles
Presumably, `font-family-generic` and `font-pitch` will allow to find a replacement on systems that do not have `Courier New`.
This commit is contained in:
committed by
John MacFarlane
parent
c8a64cadb3
commit
598b77517c
+20
-1
@@ -250,16 +250,35 @@ xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.3">
|
||||
<style:paragraph-properties fo:margin-top="0in"
|
||||
fo:margin-bottom="0in" style:contextual-spacing="false" />
|
||||
<style:text-properties style:font-name="Courier New"
|
||||
fo:font-size="10pt" style:font-name-asian="Courier New"
|
||||
fo:font-family="'Courier New'"
|
||||
style:font-family-generic="modern"
|
||||
style:font-pitch="fixed"
|
||||
fo:font-size="10pt"
|
||||
style:font-name-asian="Courier New"
|
||||
style:font-family-asian="'Courier New'"
|
||||
style:font-family-generic-asian="modern"
|
||||
style:font-pitch-asian="fixed"
|
||||
style:font-size-asian="10pt"
|
||||
style:font-name-complex="Courier New"
|
||||
style:font-family-complex="'Courier New'"
|
||||
style:font-family-generic-complex="modern"
|
||||
style:font-pitch-complex="fixed"
|
||||
style:font-size-complex="10pt"
|
||||
fo:language="zxx" />
|
||||
</style:style>
|
||||
<style:style style:name="Source_20_Text" style:display-name="Source Text" style:family="text">
|
||||
<style:text-properties style:font-name="Courier New"
|
||||
fo:font-family="'Courier New'"
|
||||
style:font-family-generic="modern"
|
||||
style:font-pitch="fixed"
|
||||
style:font-name-asian="Courier New"
|
||||
style:font-family-asian="'Courier New'"
|
||||
style:font-family-generic-asian="modern"
|
||||
style:font-pitch-asian="fixed"
|
||||
style:font-name-complex="Courier New"
|
||||
style:font-family-complex="'Courier New'"
|
||||
style:font-family-generic-complex="modern"
|
||||
style:font-pitch-complex="fixed"
|
||||
fo:language="zxx" />
|
||||
</style:style>
|
||||
<style:style style:name="Highlighted" style:family="text">
|
||||
|
||||
Reference in New Issue
Block a user