mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
namespace processing cleanup; 'inherit' font size
This commit is contained in:
parent
5e68f8602f
commit
2df68ca1ee
14 changed files with 53 additions and 48 deletions
|
@ -221,6 +221,9 @@ shared_ptr<ZLTextStyleEntry> StyleSheetTable::createControl(const AttributeMap &
|
|||
size = 144;
|
||||
} else if (fontSize[0] == "xx-large") {
|
||||
size = 173;
|
||||
} else if (fontSize[0] == "inherit") {
|
||||
entry->setFontModifier(ZLTextStyleEntry::FONT_MODIFIER_INHERIT, true);
|
||||
doSetFontSize = false;
|
||||
} else if (fontSize[0] == "smaller") {
|
||||
entry->setFontModifier(ZLTextStyleEntry::FONT_MODIFIER_SMALLER, true);
|
||||
doSetFontSize = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue