1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

CSS support (in progress)

This commit is contained in:
Nikolay Pultsin 2012-05-08 21:08:45 +01:00
parent 74434ce274
commit 7661f69aa6
4 changed files with 40 additions and 17 deletions

View file

@ -20,7 +20,6 @@
#include <cstdlib>
#include <ZLStringUtil.h>
#include <ZLLogger.h>
#include "StyleSheetTable.h"
@ -156,7 +155,6 @@ shared_ptr<ZLTextStyleEntry> StyleSheetTable::createControl(const AttributeMap &
const std::vector<std::string> &bold = values(styles, "font-weight");
if (!bold.empty()) {
ZLLogger::Instance().println(ZLLogger::DEFAULT_CLASS, "bold: " + bold[0]);
int num = -1;
if (bold[0] == "bold") {
num = 700;