mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
bb8dc6d095
commit
341f011372
@ -41,7 +41,7 @@ class EmbeddingData(Dialog):
|
|||||||
def populate_text(self):
|
def populate_text(self):
|
||||||
text = ['<h2>' + self.windowTitle() + '</h2><ul>']
|
text = ['<h2>' + self.windowTitle() + '</h2><ul>']
|
||||||
for face in self.faces:
|
for face in self.faces:
|
||||||
text.append('<li style="margin-bottom:2em">' + _('Path to font file:') + '\xa0\xa0' + '<b>' + face['path'] + '</b>')
|
text.append('<li style="margin-bottom:2em">' + '<b>' + face['path'] + '</b>')
|
||||||
name = face.get('full_name') or face.get('family_name') or face.get('subfamily_name')
|
name = face.get('full_name') or face.get('family_name') or face.get('subfamily_name')
|
||||||
if name:
|
if name:
|
||||||
text.append('<br>' + _('Name:') + '\xa0<b>' + type('')(name) + '</b>')
|
text.append('<br>' + _('Name:') + '\xa0<b>' + type('')(name) + '</b>')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user