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:
parent
74434ce274
commit
7661f69aa6
4 changed files with 40 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue