1
0
Fork 0
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:
Nikolay Pultsin 2012-05-10 20:07:04 +01:00
parent 5e68f8602f
commit 2df68ca1ee
14 changed files with 53 additions and 48 deletions

View file

@ -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;