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

Set basic font style to a paragraph #29

Merged
merged 7 commits into from
May 18, 2018
Merged

Conversation

connium
Copy link
Owner

@connium connium commented May 14, 2018

paragraph: Add styles for font formatting

  • Set font size in pt, default size is 12pt
  • Set font style (e.g. regular, bold, italic, ...). All allowed styles are being supported.
  • Set font color as hex value #rrggbb
  • Set font color as RGB value red, green, blue

Fixes #26

@connium connium self-assigned this May 14, 2018
@connium connium added this to the 0.4.0 milestone May 15, 2018
@connium
Copy link
Owner Author

connium commented May 17, 2018

This code still needs some love (refactoring, proper style handling) and documentation is still missing for the new features.

  • combine text style and paragraph style
  • unify XML generation (create node -> append to parent -> configure)
  • write JSDoc
  • extend example

@connium connium changed the title WIP: Set basic font style to a paragraph Set basic font style to a paragraph May 18, 2018
@connium connium merged commit 0ef4bc6 into master May 18, 2018
@connium connium deleted the feat/26/set-basic-font-style branch May 18, 2018 16:16
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.

1 participant