This is about the speedata Publisher. Room language is English (and perhaps German)
pgundlach on develop
Change MetaPost variables, add … Bugfix caching When having run… Version 4.3.14 and 1 more (compare)
pgundlach on develop
D: new section about compatibil… MP changes: add Td/graphics, ad… MP: csscolors.mp You can now u… and 3 more (compare)
pgundlach on develop
Hyphenation exception language … More flexible Inkscape command … Version 4.3.12 (compare)
pgundlach on develop
Bugfix plain.mp not in the dist… B: Inkscape on windows Don't f… Include plain.mp into distribut… and 1 more (compare)
pgundlach on develop
Better error message for error … Version 4.3.9 Basic MetaPost functionality T… and 1 more (compare)
Tr
ein Attribut eingeben könnte, dass die Zeile umgebrochen werden kann.
--extra-xml
option. I would like to use it for including extra font definitions. Obviously (from the code) they are appended to the main XML so this won’t work. For now, I append the main XML to --extra-xml
and use an empty layout to have full control about inclusion order, but it just doesn’t feel right. What do you think?
layout.xml
<Layout
xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Hello world</Value>
</Paragraph>
</Textblock>
</PlaceObject>
</Record>
</Layout>
data.xml
:
<data></data>
dejavu.xml
:
<Layout
xmlns="urn:speedata.de:2009/publisher/en">
<LoadFontfile name="DejaVuSerif" filename="DejaVuSerif.ttf" />
<LoadFontfile name="DejaVuSerif-Bold" filename="DejaVuSerif-Bold.ttf" />
<LoadFontfile name="DejaVuSerif-BoldItalic" filename="DejaVuSerif-BoldItalic.ttf" />
<LoadFontfile name="DejaVuSerif-Italic" filename="DejaVuSerif-Italic.ttf" />
<DefineFontalias existing="DejaVuSerif" alias="serif"/>
<DefineFontalias existing="DejaVuSerif-Bold" alias="serif-bold"/>
<DefineFontalias existing="DejaVuSerif-Italic" alias="serif-italic"/>
<DefineFontalias existing="DejaVuSerif-BoldItalic" alias="serif-bolditalic"/>
</Layout>
and serif.xml
:
<Layout
xmlns="urn:speedata.de:2009/publisher/en">
<DefineFontfamily name="text" fontsize="10" leading="12">
<Regular fontface="serif"/>
<Bold fontface="serif-bold"/>
<Italic fontface="serif-italic"/>
<BoldItalic fontface="serif-bolditalic"/>
</DefineFontfamily>
</Layout>
and I run sp --extra-xml dejavu.xml --extra-xml serif.xml
--extra-xml
)
$font
looks empty to sp in <DefineFontalias existing="{$font}" alias="Font1"/>