1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

fixed duplicate processing for some CSS properties

This commit is contained in:
Nikolay Pultsin 2014-04-21 11:44:25 +01:00
parent 7c048d0a78
commit 0e0327dee8
4 changed files with 7 additions and 3 deletions

View file

@ -665,6 +665,7 @@ bool XHTMLReader::addTextStyleEntry(const std::string tag, const std::string aCl
void XHTMLReader::addTextStyleEntry(const ZLTextStyleEntry &entry) {
if (!entry.isFeatureSupported(ZLTextStyleEntry::FONT_FAMILY)) {
myModelReader.addStyleEntry(entry);
return;
}
bool doFixFamiliesList = false;