After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782886 - Add basic style configuration to the widget to change margin, font-size and line-height
Add basic style configuration to the widget to change margin, font-size and l...
Status: RESOLVED FIXED
Product: libgepub
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Daniel Garcia
libgepub Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-05-20 19:30 UTC by Daniel Garcia
Modified: 2017-05-21 09:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Added custom font-size and line-height modifiers (10.15 KB, patch)
2017-05-21 09:42 UTC, Daniel Garcia
committed Details | Review

Description Daniel Garcia 2017-05-20 19:30:38 UTC
It could be great to be able to change some styles in the book to make it more accesible so we can force the book margin, font-size and line-height, some simple general css to apply to all html loaded, configurable in the widget with properties, getters and setters.
Comment 1 Daniel Garcia 2017-05-21 09:42:30 UTC
Created attachment 352260 [details] [review]
Added custom font-size and line-height modifiers

I've added font size and line height methods to be able to modify this
properties in the book. If we set to 0, this properties doesn't change
in the book styles, but if we set to a valid number we'll force our
styles.
Comment 2 Daniel Garcia 2017-05-21 09:43:30 UTC
Attachment 352260 [details] pushed as add069a - Added custom font-size and line-height modifiers