Use PSname in faces preview panel

This commit is contained in:
Kovid Goyal
2024-05-14 15:35:43 +05:30
parent f62fd424d2
commit e23243ec78
3 changed files with 8 additions and 6 deletions

View File

@@ -85,6 +85,7 @@ def render_face_sample(font: Descriptor, opts: Options, dpi_x: float, dpi_y: flo
metadata = {
'variable_data': get_variable_data_for_face(face),
'style': font['style'],
'psname': face.postscript_name(),
}
if is_variable(font):
ns = get_named_style(face)