Edit Book/Book polishing: Fix embedding all referenced fonts not catching fonts that are only specified via style attributes and not in any stylesheets.

This commit is contained in:
Kovid Goyal 2014-06-12 19:30:07 +05:30
parent c39c0a900c
commit 621d67273f
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -85,6 +85,10 @@ class FontStats
family = style.getPropertyValue('font-family')
if family
ans[family] = true
if node.getAttribute('style')
family = node.style.getPropertyValue('font-family')
if family
ans[family] = true
py_bridge.value = ans
if window?