Skip to content

Always keep first font #854

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

Merged
merged 4 commits into from
Jun 17, 2019
Merged

Always keep first font #854

merged 4 commits into from
Jun 17, 2019

Conversation

dogusev
Copy link
Contributor

@dogusev dogusev commented Jun 10, 2019

Font skipped each time, when styleId===0
related issues
#849
#833
#816

@dogusev
Copy link
Contributor Author

dogusev commented Jun 10, 2019

@guyonroche Hi!
I found a serious issue, which causes a lot of differences in documents styles.
The default font was always removed.
Please merge this PR ASAP

package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "exceljs",
"version": "1.12.1",
"version": "1.12.2",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please don't edit this - it is managed during the release/publish process

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

horizontal: 'left',
vertical: 'middle',
},
expect(ws.getRow(3).style.alignment).to.deep.equal({
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you add a test that covers your change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it took o lot of time to find the issue, not sure i'll be able cover with tests coming days

@guyonroche guyonroche merged commit 3cf69cd into exceljs:master Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy