diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2022-05-22 21:39:33 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2022-05-22 21:42:04 +0100 |
commit | 7b1ee98c53be125756b16d35cbd2b8c9f4ffbe15 (patch) | |
tree | b338065c4637cc5bcb8d91ebf7fc2fc424f36041 /test/data | |
parent | e58ebde8498df388975cf050382e4e9aadf2f050 (diff) | |
download | librufl-7b1ee98c53be125756b16d35cbd2b8c9f4ffbe15.tar.gz librufl-7b1ee98c53be125756b16d35cbd2b8c9f4ffbe15.tar.bz2 |
Add test for fonts with no encodings at all
This exposed a failure to clean up any FontManager error occurring
when attempting to load this kind of font. Additionally, it also
exposed a failure to initialise the umap count in an internal
structure. This was probably harmless in reality, but caused the
test to fail.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/oldfminit/INDEX | 1 | ||||
-rw-r--r-- | test/data/oldfminit/nomapping.cfg | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/data/oldfminit/INDEX b/test/data/oldfminit/INDEX index b6a3e01..e804842 100644 --- a/test/data/oldfminit/INDEX +++ b/test/data/oldfminit/INDEX @@ -3,3 +3,4 @@ # Test Description latin1.cfg Simple Latin1 Encoding +nomapping.cfg Fonts with no mapping diff --git a/test/data/oldfminit/nomapping.cfg b/test/data/oldfminit/nomapping.cfg new file mode 100644 index 0000000..18de2fb --- /dev/null +++ b/test/data/oldfminit/nomapping.cfg @@ -0,0 +1,19 @@ +# Configuration for fonts with no mapping + +%expumaps Corpus.Bold 0 +%expumaps Corpus.Bold.Oblique 0 +%expumaps Corpus.Medium 1 +%expumaps Corpus.Medium.Oblique 0 +%expumaps Homerton.Bold 0 +%expumaps Homerton.Bold.Oblique 0 +%expumaps Homerton.Medium 1 +%expumaps Homerton.Medium.Oblique 0 +%expumaps Trinity.Bold 0 +%expumaps Trinity.Bold.Italic 0 +%expumaps Trinity.Medium 1 +%expumaps Trinity.Medium.Italic 0 + +# Font name Encoding name Filename +Corpus.Medium Latin1 Latin1 +Homerton.Medium Latin1 Latin1 +Trinity.Medium Latin1 Latin1 |