diff --git a/test-config/fonts/scanner_cache.json b/test-config/fonts/scanner_cache.json new file mode 100644 index 0000000..0aaf8ad --- /dev/null +++ b/test-config/fonts/scanner_cache.json @@ -0,0 +1,725 @@ +{ + "fonts": { + "/opt/calibre/resources/fonts/liberation/LiberationMono-Bold.ttf||307996:1710386566.0": { + "family_name": "Liberation Mono", + "font-family": "Liberation Mono", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "bold", + "fs_type": 0, + "full_name": "Liberation Mono Bold", + "is_bold": true, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 7, + 7, + 9, + 2, + 2, + 5, + 2, + 4, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationMono-Bold.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationMono-BoldItalic.ttf||284068:1710386566.0": { + "family_name": "Liberation Mono", + "font-family": "Liberation Mono", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "bold", + "fs_type": 0, + "full_name": "Liberation Mono Bold Italic", + "is_bold": true, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 7, + 7, + 9, + 2, + 2, + 5, + 9, + 4, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationMono-BoldItalic.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold Italic", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationMono-Italic.ttf||281536:1710386566.0": { + "family_name": "Liberation Mono", + "font-family": "Liberation Mono", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "normal", + "fs_type": 0, + "full_name": "Liberation Mono Italic", + "is_bold": false, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 7, + 4, + 9, + 2, + 2, + 5, + 9, + 4, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationMono-Italic.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Italic", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationMono-Regular.ttf||319508:1710386566.0": { + "family_name": "Liberation Mono", + "font-family": "Liberation Mono", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "normal", + "fs_type": 0, + "full_name": "Liberation Mono", + "is_bold": false, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": true, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 7, + 4, + 9, + 2, + 2, + 5, + 2, + 4, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationMono-Regular.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Regular", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSans-Bold.ttf||414456:1710386566.0": { + "family_name": "Liberation Sans", + "font-family": "Liberation Sans", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "bold", + "fs_type": 0, + "full_name": "Liberation Sans Bold", + "is_bold": true, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 11, + 7, + 4, + 2, + 2, + 2, + 2, + 2, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSans-Bold.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSans-BoldItalic.ttf||408996:1710386566.0": { + "family_name": "Liberation Sans", + "font-family": "Liberation Sans", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "bold", + "fs_type": 0, + "full_name": "Liberation Sans Bold Italic", + "is_bold": true, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 11, + 7, + 4, + 2, + 2, + 2, + 9, + 2, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSans-BoldItalic.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold Italic", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSans-Italic.ttf||415816:1710386566.0": { + "family_name": "Liberation Sans", + "font-family": "Liberation Sans", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "normal", + "fs_type": 0, + "full_name": "Liberation Sans Italic", + "is_bold": false, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 11, + 6, + 4, + 2, + 2, + 2, + 9, + 2, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSans-Italic.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Italic", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSans-Regular.ttf||410712:1710386566.0": { + "family_name": "Liberation Sans", + "font-family": "Liberation Sans", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "normal", + "fs_type": 0, + "full_name": "Liberation Sans", + "is_bold": false, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": true, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 11, + 6, + 4, + 2, + 2, + 2, + 2, + 2, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSans-Regular.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Regular", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSerif-Bold.ttf||370096:1710386566.0": { + "family_name": "Liberation Serif", + "font-family": "Liberation Serif", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "bold", + "fs_type": 0, + "full_name": "Liberation Serif Bold", + "is_bold": true, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 2, + 8, + 3, + 7, + 5, + 5, + 2, + 3, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSerif-Bold.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSerif-BoldItalic.ttf||376772:1710386566.0": { + "family_name": "Liberation Serif", + "font-family": "Liberation Serif", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "bold", + "fs_type": 0, + "full_name": "Liberation Serif Bold Italic", + "is_bold": true, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 2, + 7, + 3, + 6, + 5, + 5, + 9, + 3, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSerif-BoldItalic.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold Italic", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSerif-Italic.ttf||375632:1710386566.0": { + "family_name": "Liberation Serif", + "font-family": "Liberation Serif", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "normal", + "fs_type": 0, + "full_name": "Liberation Serif Italic", + "is_bold": false, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 2, + 5, + 3, + 5, + 4, + 5, + 9, + 3, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSerif-Italic.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Italic", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/opt/calibre/resources/fonts/liberation/LiberationSerif-Regular.ttf||393576:1710386566.0": { + "family_name": "Liberation Serif", + "font-family": "Liberation Serif", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "normal", + "fs_type": 0, + "full_name": "Liberation Serif", + "is_bold": false, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": true, + "is_wws": false, + "os2_version": 3, + "panose": [ + 2, + 2, + 6, + 3, + 5, + 4, + 5, + 2, + 3, + 4 + ], + "path": "/opt/calibre/resources/fonts/liberation/LiberationSerif-Regular.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Regular", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf||708920:1691689145.0": { + "family_name": "DejaVu Sans", + "font-family": "DejaVu Sans", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "bold", + "fs_type": 0, + "full_name": "DejaVu Sans Bold", + "is_bold": true, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 11, + 8, + 3, + 3, + 6, + 4, + 2, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", + "preferred_family_name": "DejaVu Sans", + "preferred_subfamily_name": "Bold", + "subfamily_name": "Bold", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf||759720:1691689145.0": { + "family_name": "DejaVu Sans", + "font-family": "DejaVu Sans", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "normal", + "fs_type": 0, + "full_name": "DejaVu Sans", + "is_bold": false, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": true, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 11, + 6, + 3, + 3, + 8, + 4, + 2, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", + "preferred_family_name": "DejaVu Sans", + "preferred_subfamily_name": "Book", + "subfamily_name": "Book", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf||334268:1691689145.0": { + "family_name": "DejaVu Sans Mono", + "font-family": "DejaVu Sans Mono", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "bold", + "fs_type": 0, + "full_name": "DejaVu Sans Mono Bold", + "is_bold": true, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 11, + 7, + 9, + 3, + 6, + 4, + 2, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf||254960:1691689145.0": { + "family_name": "DejaVu Sans Mono", + "font-family": "DejaVu Sans Mono", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "bold", + "fs_type": 0, + "full_name": "DejaVu Sans Mono Bold Oblique", + "is_bold": true, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 11, + 7, + 9, + 3, + 3, + 4, + 11, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Bold Oblique", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf||253448:1691689145.0": { + "family_name": "DejaVu Sans Mono", + "font-family": "DejaVu Sans Mono", + "font-stretch": "normal", + "font-style": "italic", + "font-weight": "normal", + "fs_type": 0, + "full_name": "DejaVu Sans Mono Oblique", + "is_bold": false, + "is_italic": true, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 11, + 6, + 9, + 3, + 3, + 4, + 11, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Oblique", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf||343140:1691689145.0": { + "family_name": "DejaVu Sans Mono", + "font-family": "DejaVu Sans Mono", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "normal", + "fs_type": 0, + "full_name": "DejaVu Sans Mono", + "is_bold": false, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": true, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 11, + 6, + 9, + 3, + 8, + 4, + 2, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf", + "preferred_family_name": null, + "preferred_subfamily_name": null, + "subfamily_name": "Book", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf||356668:1691689145.0": { + "family_name": "DejaVu Serif", + "font-family": "DejaVu Serif", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "bold", + "fs_type": 0, + "full_name": "DejaVu Serif Bold", + "is_bold": true, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": false, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 6, + 8, + 3, + 5, + 6, + 5, + 2, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf", + "preferred_family_name": "DejaVu Serif", + "preferred_subfamily_name": "Bold", + "subfamily_name": "Bold", + "weight": 700, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + }, + "/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf||380660:1691689145.0": { + "family_name": "DejaVu Serif", + "font-family": "DejaVu Serif", + "font-stretch": "normal", + "font-style": "normal", + "font-weight": "normal", + "fs_type": 0, + "full_name": "DejaVu Serif", + "is_bold": false, + "is_italic": false, + "is_oblique": false, + "is_otf": false, + "is_regular": true, + "is_wws": false, + "os2_version": 1, + "panose": [ + 2, + 6, + 6, + 3, + 5, + 6, + 5, + 2, + 2, + 4 + ], + "path": "/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf", + "preferred_family_name": "DejaVu Serif", + "preferred_subfamily_name": "Book", + "subfamily_name": "Book", + "weight": 400, + "width": 5, + "wws_family_name": null, + "wws_subfamily_name": null + } + }, + "version": 2 +} \ No newline at end of file