Skip to content

Conversation

@zarkone
Copy link

@zarkone zarkone commented Aug 31, 2022

adding fntdata file with spaces results into broken presentation -- fix

adding fntdata file with spaces results into broken presentation
@zarkone zarkone requested a review from tjinauyeung August 31, 2022 13:12
@zarkone zarkone self-assigned this Aug 31, 2022
rel: {
id: '', // populated in `genXml.makeXmlPresentationRels`
target: `fonts/${font.name}-${style.name}.fntdata`,
target: `fonts/${font.name.replace(/ /g,'')}-${style.name}.fntdata`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how this works, because the rels would still refer to the name with spaces right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, the same target field is used when zipping happen

@tjinauyeung tjinauyeung merged commit 8a2e98b into pitch-main Sep 2, 2022
@tjinauyeung tjinauyeung deleted the switch/fntdata-remove-spaces branch September 2, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants