Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting additional fonts per-document #351

Closed
Intelligent2013 opened this issue Apr 16, 2022 · 3 comments
Closed

Supporting additional fonts per-document #351

Intelligent2013 opened this issue Apr 16, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Intelligent2013
Copy link
Contributor

Source: metanorma/metanorma-standoc#618

Add additional fonts from:

<presentation-metadata>
	<name>fonts</name>
	<value>Euphemia</value>
</presentation-metadata>

to xslt into fo:root tag on-fly.

@Intelligent2013 Intelligent2013 added the enhancement New feature or request label Apr 16, 2022
@Intelligent2013 Intelligent2013 self-assigned this Apr 16, 2022
@Intelligent2013 Intelligent2013 moved this to Triage in Metanorma Apr 16, 2022
@Intelligent2013 Intelligent2013 moved this from Triage to In Progress in Metanorma Apr 16, 2022
@ronaldtse
Copy link
Contributor

@Intelligent2013 we will likely also add in the font names for the fonts to use in the flavor as default, e.g. Cambria. What is the best way to map font styles to text here in the XML?

@Intelligent2013
Copy link
Contributor Author

Done.

Repository owner moved this from In Progress to Done in Metanorma Apr 17, 2022
Repository owner moved this from Done to In Progress in Metanorma Apr 17, 2022
@Intelligent2013
Copy link
Contributor Author

@Intelligent2013 we will likely also add in the font names for the fonts to use in the flavor as default, e.g. Cambria. What is the best way to map font styles to text here in the XML?

@ronaldtse for instance:

<presentation-metadata>
	<name>default_fonts</name>
	<value>Cambria</value>
</presentation-metadata>

I have to update xslt for reading these values.

Repository owner moved this from In Progress to Done in Metanorma Apr 17, 2022
@ronaldtse ronaldtse removed this from Metanorma Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants