forked from LiveCarta/BookConverter
Remove font=family processing
This commit is contained in:
@@ -23,20 +23,6 @@ class LiveCartaConfig:
|
||||
FONT_CONVERT_RATIO = LIVECARTA_DEFAULT_FONT_SIZE /\
|
||||
WORD_DEFAULT_FONT_SIZE
|
||||
|
||||
FONT_CORRESPONDANCE_TABLE = {
|
||||
"Arial": "arial,helvetica,sans-serif",
|
||||
"Comic Sans MS": "comic sans ms,cursive",
|
||||
"Courier New": "courier new,courier,monospace",
|
||||
"Georgia": "georgia,serif",
|
||||
"Lucida Sans Unicode": "lucida sans unicode,lucida grande,sans-serif",
|
||||
"Tahoma": "tahoma,geneva,sans-serif",
|
||||
"Times New Roman": "times new roman,times,serif",
|
||||
"Trebuchet MS": "trebuchet ms,helvetica,sans-serif",
|
||||
"Verdana": "verdana,geneva,sans-serif",
|
||||
"monospace": "courier new,courier,monospace",
|
||||
"sans-serif": "arial,helvetica,sans-serif"
|
||||
}
|
||||
|
||||
COLORS_MAP = {
|
||||
"#ffff00": "yellow",
|
||||
"#00ff00": "darkYellow",
|
||||
@@ -116,8 +102,8 @@ class LiveCartaConfig:
|
||||
}
|
||||
|
||||
WRAP_TAGS_WITH_TABLE = {
|
||||
("div",) :["width", "border", "bgcolor"],
|
||||
("section", "blockquote",) : ("class", r"feature[1234]"),
|
||||
("div",): ["width", "border", "bgcolor"],
|
||||
("section", "blockquote",): ("class", r"feature[1234]"),
|
||||
}
|
||||
|
||||
"""('what to replace', 'parent tag', 'child tag')"""
|
||||
|
||||
Reference in New Issue
Block a user