From 3fcdd60a1ddadbac4b7471ada48ea073411555bb Mon Sep 17 00:00:00 2001 From: Pierre Ducroquet Date: Sat, 21 Aug 2021 15:45:50 +0200 Subject: Add a configuration to switch to monospace if spacing=100 is requested Previously, requesting a monospace font with an invalid font family (for instance, when a font is not embedded in a PDF, poppler may issue such queries), the font family would be filled by configuration file 49-sansserrif.conf with sans-serif This new rule set the family to monospace if spacing=100 is specified in the query. --- conf.d/48-spacing.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 conf.d/48-spacing.conf diff --git a/conf.d/48-spacing.conf b/conf.d/48-spacing.conf new file mode 100644 index 0000000..95f394d --- /dev/null +++ b/conf.d/48-spacing.conf @@ -0,0 +1,25 @@ + + + + Add mono to the family when no generic name and spacing is 100 + + + + sans-serif + + + serif + + + monospace + + + 100 + + + monospace + + + -- cgit v1.2.1