fontconfig issueshttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues2022-04-13T05:35:39Zhttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/322missing @FONTCONFIG_LIBS@ macos2022-04-13T05:35:39Zlutz683missing @FONTCONFIG_LIBS@ macos/Library/Developer/CommandLineTools/usr/bin/make check-TESTS
FAIL: run-test.sh
PASS: test-bz89617
PASS: test-bz131804
PASS: test-bz96676
PASS: test-name-parse
SKIP: run-test-conf.sh
PASS: test-bz106632
PASS: test-issue107
PASS: test-bz1.../Library/Developer/CommandLineTools/usr/bin/make check-TESTS
FAIL: run-test.sh
PASS: test-bz89617
PASS: test-bz131804
PASS: test-bz96676
PASS: test-name-parse
SKIP: run-test-conf.sh
PASS: test-bz106632
PASS: test-issue107
PASS: test-bz1744377
PASS: test-issue180
PASS: test-family-matching
============================================================================
Testsuite summary for fontconfig 2.14.0
============================================================================
# TOTAL: 11
# PASS: 9
# SKIP: 1
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new
============================================================================
make[5]: *** [test-suite.log] Error 1
make[4]: *** [check-TESTS] Error 2
make[3]: *** [check-am] Error 2
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [distcheck] Error 1https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/321Windows 10: WINDOWSFONTDIR no longer working?2022-05-11T05:50:11ZHaleyWWindows 10: WINDOWSFONTDIR no longer working?I started Inkscape for Windows 10 in the middle of the day today, and it suddenly stopped showing any fonts installed "for all users". Since downgrading Inkscape didn't fix the issue, plus it wasn't the case earlier that same day, I susp...I started Inkscape for Windows 10 in the middle of the day today, and it suddenly stopped showing any fonts installed "for all users". Since downgrading Inkscape didn't fix the issue, plus it wasn't the case earlier that same day, I suspect some Windows update broke something with the font config.
I've tried to add the path `C:\Windows\Fonts` to both Inkscape's custom fonts setting and to its `fonts.conf`, but I haven't gotten results.
GIMP also stopped showing me any fonts installed "for all users", but unlike on Inkscape, adding the path `C:\Windows\Fonts` loaded my system fonts and fixed the issue.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/320Allow disabling bubblewrap tests2022-04-06T09:25:12ZSam JamesAllow disabling bubblewrap testsThanks for the new fontconfig release!
Would it be possible to provide a config option / environment variable / whatever that allows disabling the bubblewrap (`bwrap`) tests/invocation in `run-tests.sh`?
Calling sandboxing tools can be...Thanks for the new fontconfig release!
Would it be possible to provide a config option / environment variable / whatever that allows disabling the bubblewrap (`bwrap`) tests/invocation in `run-tests.sh`?
Calling sandboxing tools can be problematic for distributions because we're often _already_ running builds & test suites within a sandbox, so when something tries to do a bunch of the isolation stuff, it often throws up a bunch of warnings or outright fails.
For example, within Gentoo's sandbox, I get this in `test-suite.log` if `bwrap` is installed (and the test fails if it's not installed, although skipping only if we can't find the binary isn't sufficient for us anyway):
```
FAIL: run-test
==============
/usr/bin/bwrap --bind / / --bind "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.vwRe3gWl/cache.dir" "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.CRvKqytB"/cache.dir --bind "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.vwRe3gWl/fonts" "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.CRvKqytB"/fonts --bind .. "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.CRvKqytB"/build --dev-bind /dev /dev --setenv FONTCONFIG_FILE "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.CRvKqytB"/build/test/bind-fonts.conf "/var/tmp/portage/media-libs/fontconfig-2.14.0/temp/fontconfig.CRvKqytB"/build/fc-match/fc-match"" -f "%{file}
" ":foundry=Misc" > xxx
CACHEDIR.TAG
af2d3dc81e1d51fc5d84d703e657f236-le32d4.cache-8
4x6.pcf
8x16.pcf
bwrap: setting up uid map: Permission denied
Aborting from 'Basic functionality with the bind-mounted cache dir' with the exit code 1
FAIL run-test.sh (exit status: 1)
```
(I've not looked at what the tests do but it might be possible to just allow running them outside of your own sandbox if we opt-in. Not sure.)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/319"MT-safe global config" test needs Internet access2022-04-01T04:21:05ZAdam Sampson"MT-safe global config" test needs Internet accessfontconfig 2.14.0 introduces a test — ["MT-safe global config"](https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/test/run-test.sh#L426) — which requires Internet access, and uses it to silently download a fair...fontconfig 2.14.0 introduces a test — ["MT-safe global config"](https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/test/run-test.sh#L426) — which requires Internet access, and uses it to silently download a fairly large (16MB) file from a Google server every time the test is run. This won't work at all in a sandboxed build environment, and is wasteful if you have metered Internet access.
The error message in `test-suite.log` on failure is also a bit obscure:
```
Aborting from 'MT-safe global config' with the exit code 6
```
I think it would be better if this test was disabled by default; ideally there would be some way of pointing it at a local copy of the font files it wants if they are available.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/318frozen in FcMutexLock2022-03-08T13:49:46ZVincent Lefevrefrozen in FcMutexLockI got an issue with Gnuplot, which hanged in a call to fontconfig (from the libfontconfig1 2.13.1-4.4 Debian package), as shown by the backtrace:
```
Thread 1 (Thread 0x7ff9664a4b00 (LWP 259590) "gnuplot"):
#0 futex_wait (private=0, exp...I got an issue with Gnuplot, which hanged in a call to fontconfig (from the libfontconfig1 2.13.1-4.4 Debian package), as shown by the backtrace:
```
Thread 1 (Thread 0x7ff9664a4b00 (LWP 259590) "gnuplot"):
#0 futex_wait (private=0, expected=2, futex_word=0x7ff95c05c630) at ../sysdeps/nptl/futex-internal.h:146
__ret = -512
err = <optimized out>
#1 __lll_lock_wait (futex=futex@entry=0x7ff95c05c630, private=0) at lowlevellock.c:52
#2 0x00007ff96adcefe3 in __GI___pthread_mutex_lock (mutex=0x7ff95c05c630) at ../nptl/pthread_mutex_lock.c:80
__futex = 0x7ff95c05c630
type = <optimized out>
__PRETTY_FUNCTION__ = "__pthread_mutex_lock"
id = <optimized out>
#3 0x00007ff96ab0d547 in FcMutexLock (m=<optimized out>) at ./src/fcmutex.h:122
lock = <optimized out>
#4 0x00007ff96ab0e59e in FcCacheFindByAddr (object=0x7ff96cc73210) at ./src/fccache.c:663
ret = <optimized out>
skip = <optimized out>
#5 FcCacheObjectReference (object=0x7ff96cc73210) at ./src/fccache.c:750
skip = <optimized out>
#6 0x00007ff96ab27c08 in IA__FcPatternReference (p=<optimized out>) at ./src/fcpat.c:1232
#7 0x00007ff969be6959 in font_set_copy (fontset=<optimized out>) at ../pango/pangofc-fontmap.c:785
copy = 0x55c53ac4b660
i = <optimized out>
td = 0x55c53ac445c0
fontmap = <optimized out>
[...]
```
If I understand correctly, this can only occur in `fccache.c`, function `lock_cache`. I noticed the issue just after resizing the Gnuplot window to the maximum size because the contents were not redrawn, but after some debugging, it appears that this function is no longer called once the initial window has been fully drawn, so I suppose that the freeze actually occurred before the resize.
Note that `cache_lock` should be explicitly initialized to 0 as this is used by the `lock_cache` code in the `!lock` test (but this shouldn't be the cause of the bug as static variables are implicitly initialized). Moreover, there is a small memory leak in case `fc_atomic_ptr_cmpexch(...)` returns false since the memory that has just been allocated for `lock` is not freed before the `goto retry`, but again, this is not the cause of this bug.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/317Same fonts across different Linux OS and Machines2022-03-01T09:58:07Zdim katSame fonts across different Linux OS and MachinesHi,
I would like to address the following question into this group (if this is not the correct place please indicate the proper one, e.g. stackoverflow, etc?):
We would like to configure different Linux Machines (Centos 6, Centos 7, et...Hi,
I would like to address the following question into this group (if this is not the correct place please indicate the proper one, e.g. stackoverflow, etc?):
We would like to configure different Linux Machines (Centos 6, Centos 7, etc) to use the same fonts
as we run some tests and we would like them to produce always the same output when saving some pictures.
Now there are a lot of places (.fontconfig, /usr/share/fonts/, etc)... but which is is the correct one?
Is this possible? Any help or guidance would be really much appreciated.
Regards,
dimhttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/316fontconfig upgrade 2.13.94 -> 2.13.96 breaks xterm font selection2022-03-02T11:06:11ZEvgeniy Dushistovfontconfig upgrade 2.13.94 -> 2.13.96 breaks xterm font selectionI use such config for xterm:
```
❯ cat ~/.Xresources | grep -i xterm
XTerm*locale: true
XTerm*metaSendsEscape: true
XTerm*rightScrollBar: true
*XTerm*VT100*faceName: -microsoft-consolas-bold-r-normal-*-17-120-100-100-m-0-koi8-ru
*XTerm*f...I use such config for xterm:
```
❯ cat ~/.Xresources | grep -i xterm
XTerm*locale: true
XTerm*metaSendsEscape: true
XTerm*rightScrollBar: true
*XTerm*VT100*faceName: -microsoft-consolas-bold-r-normal-*-17-120-100-100-m-0-koi8-ru
*XTerm*faceSize: 12
*XTerm*VT100*translations: #override \n\
XTerm*pointerShape: xterm
XTerm*saveLines: 1000
```
After update of fontconfig:
```
upgraded fontconfig (2:2.13.94-1 -> 2:2.13.96-1),
```
xterm can not use consolas font (some unicode characters replaced by empty space).
After downgrade:
> sudo pacman -U fontconfig-2\:2.13.94-1-x86_64.pkg.tar.zst
All works again just fine.
xfontsel/xlsfonts show the selected fontconfig in both cases.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/315Font weight limited with a variable font2022-02-21T09:33:06ZbarmadridFont weight limited with a variable fontI'm having an issue with one specific variable font [RobotoFlex](https://github.com/TypeNetwork/Roboto-Flex/tree/main/fonts). The font weight range available to me in Firefox and within Gnome shell, for example seems to be limited to onl...I'm having an issue with one specific variable font [RobotoFlex](https://github.com/TypeNetwork/Roboto-Flex/tree/main/fonts). The font weight range available to me in Firefox and within Gnome shell, for example seems to be limited to only Regular and Medium weights. Even if I choose Bold (in Gnome Tweaks or manually set websites display RobotoFlex using the Inspector tool and change the weight to Bold) it displays as Medium.
I had filed an [issue](https://github.com/TypeNetwork/Roboto-Flex/issues/145) with the font developer, but I was told that it might be a fontconfig issue.
Please let me know what other details you want me to provide.
```
$ FC_DEBUG=256 fc-query RobotoFlex\[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght\].ttf
FC_DEBUG=256
found family (n 1 p 3 e 1 l 0x0409)RobotoFlex
found full (n 4 p 3 e 1 l 0x0409)RobotoFlex Regular
found style (n 2 p 3 e 1 l 0x0409) Regular
os2 weight class 400 multiplier 1 maps to weight 80
os2 width class 5 multiplier 1 maps to width 100
complex_ features in this font: otlayout:DFLT
Style Regular maps to slant -1
Style Regular maps to decorative 0
aa(0) ab(14) af(0)
ak(5) { 0186 0190 0254 025b 0329 }
am(264) an(0) ar(36) as(64)
ast(4) { 1e24 1e25 1e36 1e37 }
av(0) ay(0)
az-az(1) { 0131 }
az-ir(40) ba(0) be(0) ber-dz(14) ber-ma(32) bg(0) bh(68) bho(68) bi(0) bin(0)
bm(6) { 0186 0190 019d 0254 025b 0272 }
bn(63) bo(95) br(0) brx(82) bs(0) bua(0) byn(255) ca(0) ce(0) ch(0)
chm(4) { 04a4 04a5 04f8 04f9 }
chr(85) co(0)
crh(1) { 0131 }
cs(0) csb(0) cu(27) cv(0) cy(0) da(0) de(0) doi(85) dv(49) dz(95) ee(19) el(0) en(0) eo(0) es(0) et(0) eu(0) fa(40)
fat(5) { 0186 0190 0254 025b 0329 }
ff(8) { 0181 018a 019d 01b3 01b4 0253 0257 0272 }
fi(0) fil(0) fj(0) fo(0) fr(0) fur(0) fy(0) ga(14) gd(0) gez(218) gl(0) gn(0) gu(68) gv(0)
ha(8) { 0181 018a 0198 0199 01b3 01b4 0253 0257 }
haw(1) { 02bb }
he(27) hi(68) hne(68) ho(0) hr(0) hsb(0) ht(0) hu(0) hy(77)
hz(5) { 032f 1e12 1e13 1e4a 1e4b }
ia(0) id(0) ie(0) ig(0) ii(1165) ik(0) io(0) is(0) it(0) iu(161) ja(2314) jv(0) ka(33) kaa(0) kab(14) ki(0) kj(0) kk(0) kl(0) km(63) kn(70) ko(2442) kok(68)
kr(4) { 018e 01dd 024c 024d }
ks(33)
ku-am(4) { 051a 051b 051c 051d }
ku-iq(32) ku-ir(32) ku-tr(0) kum(0) kv(0) kw(0) kwm(0) ky(0) la(0) lah(27) lb(0) lez(0) lg(0) li(0)
ln(4) { 0186 0190 0254 025b }
lo(55) lt(0) lv(0) mai(68) mg(0) mh(0)
mi(2) { 1e34 1e35 }
mk(2) { 0400 0450 }
ml(68) mn-cn(130) mn-mn(0) mni(76) mo(0) mr(68) ms(0) mt(0) my(48) na(0) nb(0) nds(0) ne(72) ng(0) nl(0) nn(0) no(0) nqo(59) nr(0) nso(0) nv(0) ny(0) oc(0) om(0) or(68) os(0) ota(37) pa(63) pa-pk(27) pap-an(0) pap-aw(0) pl(0) ps-af(49) ps-pk(49) pt(0)
qu(1) { 02c8 }
quz(1) { 02c8 }
rm(0) rn(0) ro(0) ru(0) rw(0) sa(68)
sah(4) { 0494 0495 04a4 04a5 }
sat(70) sc(0)
sco(4) { 01b7 021c 021d 0292 }
sd(54) se(0) sel(0) sg(0) sh(0)
shs(1) { 0313 }
si(73) sid(281) sk(0) sl(0)
sm(1) { 02bb }
sma(0) smj(0) smn(0)
sms(8) { 01b7 01e4 01e5 01e8 01e9 01ee 01ef 0292 }
sn(0) so(0) sq(0) sr(0) ss(0) st(0) su(0) sv(0) sw(0) syr(45) ta(48) te(70)
tg(2) { 04e2 04e3 }
th(74) ti-er(255) ti-et(281) tig(221) tk(0) tl(0) tn(0)
to(1) { 02bb }
tr(1) { 0131 }
ts(0) tt(0)
tw(5) { 0186 0190 0254 025b 0329 }
ty(0) tyv(0) ug(33) uk(0) und-zmth(300) und-zsye(641) ur(27) uz(0) ve(10) vi(0) vo(0) vot(0) wa(0) wal(281) wen(0) wo(0) xh(0) yap(0) yi(27) yo(14) za(0) zh-cn(6763) zh-hk(1083) zh-mo(1083) zh-sg(6763) zh-tw(13063) zu(0)
found family (n 1 p 3 e 1 l 0x0409)RobotoFlex
os2 weight class 400 multiplier 1 maps to weight 80
os2 width class 5 multiplier 1 maps to width 100
complex_ features in this font: otlayout:DFLT
Pattern has 27 elts (size 32)
family: "RobotoFlex"(s)
familylang: "en"(s)
style: "Regular"(s)
stylelang: "en"(s)
fullname: "RobotoFlex Regular"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 80(f)(s)
width: 100(f)(s)
size: 14(f)(s)
foundry: "GOOG"(s)
file: "RobotoFlex[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght].ttf"(s)
index: 0(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fffdffff ffffffff 7fffffff 00048000 00018003 00001ff0 fc000cc0
0002: 0fffffff 000f3c00 02000000 00000000 00000000 16000000 3f0002c0 00000000
0003: 08029fdf 000241d8 00000000 40300000 ffffd7f0 fffffffb 0080ffff 00000000
0004: fffffffe ffffffff fffeffff 00000000 3fcf0000 0fcffc0f 33cf8007 c00fc3c0
001e: 00000000 00000000 00000000 00000000 4000003f ffffffff ffffffff 03ffffff
0020: 77390000 060d0047 00040010 00100000 00000000 37363ada 00000000 00000000
0021: 00400000 00000044 00000000 00000000 00000000 00000000 00000000 00000000
0022: 02240040 00000000 00000100 00000031 00000000 00000000 00000000 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00f5: 0f03c000 0000333c 00000000 00000000 00000000 00000000 00000000 00000000
00fb: 0000001f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|af|av|ay|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tk|tl|tn|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 139985(i)(s)
capability: "otlayout:DFLT"(s)
fontformat: "TrueType"(s)
decorative: False(s)
postscriptname: "RobotoFlex-Regular"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
Pattern has 22 elts (size 32)
family: "RobotoFlex"(s)
familylang: "en"(s)
slant: 0(i)(s)
weight: [0 215](s)
width: [25 151](s)
size: [8 144](s)
foundry: "GOOG"(s)
file: "RobotoFlex[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght].ttf"(s)
index: 0(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fffdffff ffffffff 7fffffff 00048000 00018003 00001ff0 fc000cc0
0002: 0fffffff 000f3c00 02000000 00000000 00000000 16000000 3f0002c0 00000000
0003: 08029fdf 000241d8 00000000 40300000 ffffd7f0 fffffffb 0080ffff 00000000
0004: fffffffe ffffffff fffeffff 00000000 3fcf0000 0fcffc0f 33cf8007 c00fc3c0
001e: 00000000 00000000 00000000 00000000 4000003f ffffffff ffffffff 03ffffff
0020: 77390000 060d0047 00040010 00100000 00000000 37363ada 00000000 00000000
0021: 00400000 00000044 00000000 00000000 00000000 00000000 00000000 00000000
0022: 02240040 00000000 00000100 00000031 00000000 00000000 00000000 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00f5: 0f03c000 0000333c 00000000 00000000 00000000 00000000 00000000 00000000
00fb: 0000001f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|af|av|ay|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tk|tl|tn|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 139985(i)(s)
capability: "otlayout:DFLT"(s)
fontformat: "TrueType"(s)
decorative: False(s)
color: False(s)
symbol: False(s)
variable: True(s)
fonthashint: False(s)
order: 0(i)(s)
```https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/314SF Pro kerning seems off after opsz axis change2022-02-17T17:16:35ZSimon McFarlaneSF Pro kerning seems off after opsz axis changeFollowing 14c265a10, the Apple font SF Pro (system-ui font on MacOS) looks a little odd. It is bigger, and the kerning seems too wide. Before and after:
![font1](/uploads/6adc7572b22e994469f1b2f6ab4b8e0b/font1.png) ![font2](/uploads/97a...Following 14c265a10, the Apple font SF Pro (system-ui font on MacOS) looks a little odd. It is bigger, and the kerning seems too wide. Before and after:
![font1](/uploads/6adc7572b22e994469f1b2f6ab4b8e0b/font1.png) ![font2](/uploads/97a1e6f89b54241bbadb904cf63e9a0d/font2.png)
I have it fixed on my system with the following patch:
```diff
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index cf923f2..ae3429f 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -1364,8 +1364,6 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
switch (master->axis[i].tag)
{
case FT_MAKE_TAG ('o','p','s','z'):
- if (!FcPatternObjectAddDouble (pat, FC_SIZE_OBJECT, master->axis[i].def / (double) (1U << 16)))
- goto bail1;
variable_size = FcTrue;
break;
}
```
but I'm not sure what the consequences of removing that are for other fonts.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/313Preferable DejaVu families order swap in 60-latin.conf breaks display in Conky2022-02-10T21:48:33ZFrankPreferable DejaVu families order swap in 60-latin.conf breaks display in ConkyHello,
Recent update of fontconfig to 2.13.96-1 has changed the order of preferable fonts in `/usr/share/fontconfig/conf.avail/60-latin.conf` which causes display issues with program CONKY. Depending on the Conky configuration you have,...Hello,
Recent update of fontconfig to 2.13.96-1 has changed the order of preferable fonts in `/usr/share/fontconfig/conf.avail/60-latin.conf` which causes display issues with program CONKY. Depending on the Conky configuration you have, it can be as simple as adding spacings between lines which throws off screen part of the Conky, to messing up the entire configuration which becomes unreadable.
Reverting back to previous order of preferable fonts fixes entirely the issue. Previous fontconfig version is 2.13.94-1 on my machine.
Previous version shows `DejaVu` font as being the preferred family in all blocks containing DejaVu.
```
<description>Set preferable fonts for Latin</description>
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>Times New Roman</family>
<family>Thorndale AMT</family>
<family>Luxi Serif</family>
<family>Nimbus Roman No9 L</family>
<family>Nimbus Roman</family>
<family>Times</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
<family>Verdana</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Luxi Sans</family>
<family>Nimbus Sans L</family>
<family>Nimbus Sans</family>
<family>Helvetica</family>
<family>Lucida Sans Unicode</family>
<family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
<family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Inconsolata</family>
<family>Andale Mono</family>
<family>Courier New</family>
<family>Cumberland AMT</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Nimbus Mono</family>
<family>Nimbus Mono PS</family>
<family>Courier</family>
</prefer>
</alias>
<!--
```
After the latest update it now shows like this:
```
<description>Set preferable fonts for Latin</description>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>DejaVu Serif</family>
<family>Times New Roman</family>
<family>Thorndale AMT</family>
<family>Luxi Serif</family>
<family>Nimbus Roman No9 L</family>
<family>Nimbus Roman</family>
<family>Times</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>DejaVu Sans</family>
<family>Verdana</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Luxi Sans</family>
<family>Nimbus Sans L</family>
<family>Nimbus Sans</family>
<family>Helvetica</family>
<family>Lucida Sans Unicode</family>
<family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
<family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>Inconsolata</family>
<family>Andale Mono</family>
<family>Courier New</family>
<family>Cumberland AMT</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Nimbus Mono</family>
<family>Nimbus Mono PS</family>
<family>Courier</family>
</prefer>
</alias>
<!--
```
DejaVu families are in 2nd order, which causes the issue. Reverting back to 1st in order fixes everything.
It that a normal behavior we need to work around from now on or it is an issue?
Thankshttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/312Query for unknown font with spacing=mono returns sans-serif font2022-02-08T07:23:33ZChristian WeiskeQuery for unknown font with spacing=mono returns sans-serif fontSome PDFs use monspaced fonts but do not embed them. The german bank "Volksbank" is one of those.
(They use "RFont0" up to "RFont8", and their meaning is different from file to file, i.e. RFont3 may be monospaced in one file, but normal ...Some PDFs use monspaced fonts but do not embed them. The german bank "Volksbank" is one of those.
(They use "RFont0" up to "RFont8", and their meaning is different from file to file, i.e. RFont3 may be monospaced in one file, but normal spaced in the next. So no hard mapping possible here)
`poppler` queries `fontconfig`, by setting the name and the `spacing=mono` flag: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1152
Unfortunately, `fontconfig` returns the default sans-serif font (On Debian unstable and Ubuntu 20.04):
```
$ fc-match RFont3:spacing=mono
DejaVuSans.ttf: "DejaVu Sans" "Book"
```
Shouldn't `fontconfig` return a monospaced font if an unknown font name
is requested and the mono spacing flag is set?
I managed to fix that with the following user configuration:
```
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="spacing">
<int>100</int>
</test>
<edit name="family" mode="prepend">
<string>monospace</string>
</edit>
</match>
</fontconfig>
````
```
$ fc-match RFont3:spacing=mono
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
```
But I think that I should not need to do that manually.
----
This was on the mailing list but without results:
- Original post: https://lists.freedesktop.org/archives/fontconfig/2021-October/006811.html
- Some discussion: https://lists.freedesktop.org/archives/fontconfig/2021-November/006844.html
- Bump: https://lists.freedesktop.org/archives/fontconfig/2022-February/006870.htmlhttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/311Cache files keep getting recreated every time I start a new application.2023-05-30T10:16:11ZHussam Al-TayebCache files keep getting recreated every time I start a new application.All but one of my cache files keep getting recreated every time I start a new application.
The contents of the file that does NOT keep getting recreated all day are:
strings a0f105d33f75736c5f51c104a35e7606-le64.cache-8
```
/usr/share/f...All but one of my cache files keep getting recreated every time I start a new application.
The contents of the file that does NOT keep getting recreated all day are:
strings a0f105d33f75736c5f51c104a35e7606-le64.cache-8
```
/usr/share/fonts/adobe-source-serif-pro
Source Serif 4
Source Serif 4 Black
Black
Regular
Source Serif 4 Black
ADBO
/usr/share/fonts/adobe-source-serif-pro/SourceSerif4-Black.otf
otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn
SourceSerif4-Black
Source Serif 4
Source Serif 4 Black
Black Italic
Italic
Source Serif 4 Black Italic
ADBO
/usr/share/fonts/adobe-source-serif-pro/SourceSerif4-BlackIt.otf
otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn
SourceSerif4-BlackIt
Source Serif 4
Bold
Source Serif 4 Bold
ADBO
```
And so on. all .otf files.
The rest get recreated all day as I close and open applications.
installed fonts
https://pastebin.com/raw/WGkfFviAhttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/310Tarballl for 2.13.95 is missing conf.d/48-spacing.conf2022-09-13T12:55:18ZHeiko BeckerTarballl for 2.13.95 is missing conf.d/48-spacing.confleading to the meson build failing with:
`../fontconfig-2.13.95/conf.d/meson.build:65:0: ERROR: File 48-spacing.conf does not exist`leading to the meson build failing with:
`../fontconfig-2.13.95/conf.d/meson.build:65:0: ERROR: File 48-spacing.conf does not exist`https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/309Tag `2.13.95` is missing2022-02-03T04:42:08ZJan Alexander SteffensTag `2.13.95` is missingA `2.13.95` tarball was published but this repository has no tag for it.A `2.13.95` tarball was published but this repository has no tag for it.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/308Explicit configuration of cache dir via API2022-01-31T07:49:38ZlhogExplicit configuration of cache dir via APII've been studying FC API and implementation in the past several days and I found no way to specify cache dir explicitly via API. This would be handy in case fontconfig is run "ad-hoc" in environments like MinGW or generally Win32. Such ...I've been studying FC API and implementation in the past several days and I found no way to specify cache dir explicitly via API. This would be handy in case fontconfig is run "ad-hoc" in environments like MinGW or generally Win32. Such environments usually don't come with config file, so the "configuration" happens by means of API.
The current API has "Get" function for the subj:
```
FcPublic FcStrList *
FcConfigGetCacheDirs (const FcConfig *config);
```
I'd propose to expose currently private function:
```
FcPrivate FcBool
FcConfigAddCacheDir (FcConfig *config, const FcChar8 *d);
```
as API callable function.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/307test/wrapper-script.sh not included in 2.13.94 tarball2022-01-31T08:30:59ZPeter Williamstest/wrapper-script.sh not included in 2.13.94 tarballAs per the issue title: the file `test/wrapper-script.sh` is not included in the 2.13.94 release tarball, so that the test suite fails to run on Windows.As per the issue title: the file `test/wrapper-script.sh` is not included in the 2.13.94 release tarball, so that the test suite fails to run on Windows.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/306Synthetically emboldened raster font has its letters spaced too close2022-01-14T04:50:43ZSneedSoftSynthetically emboldened raster font has its letters spaced too closeThe automatically generated bold version of the raster font I'm using, while adds more weight to it, does not change letter spacing from the normal version, so the letters end up too close together.
There appears to be a "spacing" proper...The automatically generated bold version of the raster font I'm using, while adds more weight to it, does not change letter spacing from the normal version, so the letters end up too close together.
There appears to be a "spacing" property in fontconfig. However, trying to alter it with a .conf file doesn't seem to do anything.
Here's the font I'm using and a .conf file I attempted to write:
[MSSansSerifRaster.otb](/uploads/c3da3a2b3002150ee4a1f4cefd61b81f/MSSansSerifRaster.otb)
[99-ms-sans-serif-bold.conf](/uploads/e1fd50183dae5e04350712b0939ac55c/99-ms-sans-serif-bold.conf)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/305Quartus Prime Lite 21.1 crash with fontconfig 2.13.942022-01-10T04:58:52ZGrigoryQuartus Prime Lite 21.1 crash with fontconfig 2.13.94Quartus
https://fpgasoftware.intel.com/?edition=lite
```
Thread 1 "quartus" received signal SIGSEGV, Segmentation fault.
IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
37 p->num = 0;
(gdb) bt
#0 IA__FcPatternCreate () ...Quartus
https://fpgasoftware.intel.com/?edition=lite
```
Thread 1 "quartus" received signal SIGSEGV, Segmentation fault.
IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
37 p->num = 0;
(gdb) bt
#0 IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
#1 0x00007fffdbce1d60 in FcParsePattern (parse=parse@entry=0x7fffffff41c0) at ../fontconfig/src/fcxml.c:3075
#2 0x00007fffdbcdeafa in FcEndElement (userData=0x7fffffff41c0, name=0x18 <error: Cannot access memory at address 0x18>) at ../fontconfig/src/fcxml.c:3212
#3 0x00007fffdbc77c35 in doContent (parser=parser@entry=0x7fffd0affc00, startTagLevel=<optimized out>, startTagLevel@entry=0, enc=0x7fffdbc8b3d8 <utf8_encoding>, s=<optimized out>, s@entry=0x7fffd0afb400 "",
end=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., end@entry=0x7fffd1e11a08 "", nextPtr=0x7fffd0affc30, haveMore=1 '\001', account=XML_ACCOUNT_DIRECT) at expat-2.4.2/lib/xmlparse.c:3036
#4 0x00007fffdbc74536 in contentProcessor (parser=0x7fffd0affc00, start=<optimized out>, end=<optimized out>, endPtr=<optimized out>) at expat-2.4.2/lib/xmlparse.c:2601
#5 doProlog (parser=parser@entry=0x7fffd0affc00, enc=0x7fffdbc8b3d8 <utf8_encoding>, s=<optimized out>,
s@entry=0x7fffd14e1d00 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Reject bitmap fonts</description>\n<!-- Reject bitmap fonts -->\n <selectfont>\n <rejectfont>\n "..., end=<optimized out>,
end@entry=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., tok=29, next=<optimized out>, nextPtr=<optimized out>, haveMore=<optimized out>, allowClosingDoctype=<optimized out>, account=<optimized out>) at expat-2.4.2/lib/xmlparse.c:4631
#6 0x00007fffdbc712d3 in prologProcessor (parser=0x7fffd0affc00,
s=0x7fffd14e1d00 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Reject bitmap fonts</description>\n<!-- Reject bitmap fonts -->\n <selectfont>\n <rejectfont>\n "...,
end=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., nextPtr=0x7fffd0affc30) at expat-2.4.2/lib/xmlparse.c:4336
#7 prologInitProcessor (parser=0x7fffd0affc00,
s=0x7fffd14e1d00 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Reject bitmap fonts</description>\n<!-- Reject bitmap fonts -->\n <selectfont>\n <rejectfont>\n "...,
end=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., nextPtr=0x7fffd0affc30) at expat-2.4.2/lib/xmlparse.c:4138
#8 0x00007fffdbc70ac6 in XML_ParseBuffer (parser=parser@entry=0x7fffd0affc00, len=len@entry=327, isFinal=0) at expat-2.4.2/lib/xmlparse.c:2008
#9 0x00007fffdbcde1e6 in FcConfigParseAndLoadFromMemoryInternal (config=config@entry=0x7fffd1e64ac0, filename=filename@entry=0x7fffd0b7ff58 "/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf", buffer=<optimized out>,
complain=complain@entry=0, load=load@entry=0) at ../fontconfig/src/fcxml.c:3527
#10 0x00007fffdbcdde86 in _FcConfigParse (config=config@entry=0x7fffd1e64ac0, name=0x7fffd0aa9130 "/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf", complain=complain@entry=0, load=load@entry=0) at ../fontconfig/src/fcxml.c:3674
#11 0x00007fffdbcddf01 in FcConfigParseAndLoadDir (config=0x7fffd1e64ac0, name=<optimized out>, dir=0x7fffd0acf628 "/usr/share/fontconfig/conf.avail", complain=0, load=0) at ../fontconfig/src/fcxml.c:3425
#12 _FcConfigParse (config=config@entry=0x7fffd1e64ac0, name=<optimized out>, complain=complain@entry=0, load=load@entry=0) at ../fontconfig/src/fcxml.c:3633
#13 0x00007fffdbcdda94 in FcConfigParseOnly (config=0x7fffd0b93238, config@entry=0x7fffd1e64ac0, name=0x18 <error: Cannot access memory at address 0x18>, complain=complain@entry=0) at ../fontconfig/src/fcxml.c:3703
#14 0x00007fffdbccf33a in FcInitLoadOwnConfig (config=0x7fffd1e64ac0, config@entry=0x0) at ../fontconfig/src/fcinit.c:98
#15 0x00007fffdbccf59e in FcInitLoadOwnConfigAndFonts (config=0x0) at ../fontconfig/src/fcinit.c:170
#16 IA__FcInitLoadConfigAndFonts () at ../fontconfig/src/fcinit.c:184
#17 0x00007fffdbcc0565 in FcConfigEnsure () at ../fontconfig/src/fccfg.c:96
#18 IA__FcConfigGetCurrent () at ../fontconfig/src/fccfg.c:621
#19 IA__FcConfigGetFonts (config=<optimized out>, set=FcSetApplication) at ../fontconfig/src/fccfg.c:825
#20 0x00007fffd6929b3f in ?? () from /usr/lib/libQt5XcbQpa.so.5
#21 0x00007fffdb5f1a51 in ?? () from /usr/lib/libQt5Gui.so.5
#22 0x00007fffdb5f17bb in ?? () from /usr/lib/libQt5Gui.so.5
#23 0x00007fffdb5f1e14 in QFontDatabase::addApplicationFontFromData(QByteArray const&) () from /usr/lib/libQt5Gui.so.5
#24 0x00007ffff673c05a in afcq_load_fonts_from_resources() () from /opt/intelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#25 0x00007ffff673c202 in AFCQ_APP::AFCQ_APP(int&, char**) () from /opt/intelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#26 0x00007ffff7e07d2c in QUI_APP::QUI_APP(int&, char**) () from /opt/intelFPGA/21.1/quartus/linux64/libsys_qui.so
#27 0x00007ffff7f9d649 in QGQ_APP::QGQ_APP(int&, char**) () from /opt/intelFPGA/21.1/quartus/linux64/libsys_qgq.so
#28 0x0000000000401ef8 in qgq_main(int, char const**) ()
#29 0x00007fffdf7bce30 in msg_main_thread(void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_msg.so
#30 0x00007fffdeea1acc in thr_final_wrapper () from /opt/intelFPGA/21.1/quartus/linux64/libccl_thr.so
#31 0x00007fffdf7bceef in msg_thread_wrapper(void* (*)(void*), void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_msg.so
#32 0x00007fffdef08f9c in mem_thread_wrapper(void* (*)(void*), void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_mem.so
#33 0x00007fffdeeda1d9 in err_thread_wrapper(void* (*)(void*), void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_err.so
#34 0x00007fffdeea1b0f in thr_thread_wrapper () from /opt/intelFPGA/21.1/quartus/linux64/libccl_thr.so
#35 0x00007fffdf7beea1 in msg_exe_main(int, char const**, int (*)(int, char const**)) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_msg.so
#36 0x0000000000402011 in main ()
```
With libxml2 as XML Parser the same segfault.
```
#0 IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
#1 FcParsePattern (parse=0x7fffffff41d0) at ../fontconfig/src/fcxml.c:3075
#2 0x00007fffdde8af10 in FcEndElement (userData=0x7fffffff41d0, name=0x18 <error: Cannot access memory at address 0x18>)
at ../fontconfig/src/fcxml.c:3212
#3 0x00007fffccc8b166 in ?? () from /usr/lib/libxml2.so.2
#4 0x00007fffccc93586 in xmlParseChunk () from /usr/lib/libxml2.so.2
#5 0x00007fffdde8a41d in FcConfigParseAndLoadFromMemoryInternal (config=0x7fffd2c64940,
filename=0x7fffd19affc8 "/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf",
buffer=0x7fffd2c11600 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Accept bitmap fonts</description>\n<!-- Accept bitmap fonts -->\n <selectfont>\n <acceptfont>\n "..., complain=0, load=0)
at ../fontconfig/src/fcxml.c:3525
#6 0x00007fffdde89ff3 in _FcConfigParse (config=<optimized out>, name=0x7fffd18b8b80 "/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf",
complain=0, load=0) at ../fontconfig/src/fcxml.c:3674
#7 0x00007fffdde8a065 in FcConfigParseAndLoadDir (config=0x7fffd2c64940,
name=0x7fffd196ab00 "/usr/share/fontconfig/conf.avail/90-synthetic.conf", dir=0x7fffd18df3f8 "/usr/share/fontconfig/conf.avail", complain=0,
load=0) at ../fontconfig/src/fcxml.c:3425
#8 _FcConfigParse (config=<optimized out>, name=0x7fffd196ab00 "/usr/share/fontconfig/conf.avail/90-synthetic.conf", complain=0, load=0)
at ../fontconfig/src/fcxml.c:3633
#9 0x00007fffdde76f57 in FcConfigParseOnly (config=0x7fffd2c64940, name=0x18 <error: Cannot access memory at address 0x18>, complain=0)
at ../fontconfig/src/fcxml.c:3703
#10 FcInitLoadOwnConfig (config=0x7fffd2c64940) at ../fontconfig/src/fcinit.c:98
#11 0x00007fffdde62fae in FcInitLoadOwnConfigAndFonts (config=0x0) at ../fontconfig/src/fcinit.c:170
#12 IA__FcInitLoadConfigAndFonts () at ../fontconfig/src/fcinit.c:184
#13 FcConfigEnsure () at ../fontconfig/src/fccfg.c:96
#14 IA__FcConfigGetCurrent () at ../fontconfig/src/fccfg.c:621
#15 IA__FcConfigGetFonts (config=<optimized out>, set=FcSetApplication) at ../fontconfig/src/fccfg.c:825
#16 0x00007fffd0eb7940 in QFontconfigDatabase::addApplicationFont(QByteArray const&, QString const&) ()
from /opt/IntelFPGA/21.1/quartus/linux64/libQt5XcbQpa.so.5
#17 0x00007fffdac1d1d2 in QFontDatabasePrivate::addAppFont(QByteArray const&, QString const&) ()
from /opt/IntelFPGA/21.1/quartus/linux64/libQt5Gui.so.5
#18 0x00007fffdac1d402 in QFontDatabase::addApplicationFontFromData(QByteArray const&) () from /opt/IntelFPGA/21.1/quartus/linux64/libQt5Gui.so.5
#19 0x00007ffff63ae05a in afcq_load_fonts_from_resources() () from /opt/IntelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#20 0x00007ffff63ae202 in AFCQ_APP::AFCQ_APP(int&, char**) () from /opt/IntelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#21 0x00007ffff7bf1d2c in QUI_APP::QUI_APP(int&, char**) () from /opt/IntelFPGA/21.1/quartus/linux64/libsys_qui.so
#22 0x00007ffff7d87649 in QGQ_APP::QGQ_APP(int&, char**) () from /opt/IntelFPGA/21.1/quartus/linux64/libsys_qgq.so
#23 0x0000000000401ef8 in qgq_main(int, char const**) ()
#24 0x00007fffdf0c6e30 in msg_main_thread(void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_msg.so
#25 0x00007fffde7b3acc in thr_final_wrapper () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_thr.so
#26 0x00007fffdf0c6eef in msg_thread_wrapper(void* (*)(void*), void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_msg.so
#27 0x00007fffde823f9c in mem_thread_wrapper(void* (*)(void*), void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_mem.so
#28 0x00007fffde7f51d9 in err_thread_wrapper(void* (*)(void*), void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_err.so
#29 0x00007fffde7b3b0f in thr_thread_wrapper () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_thr.so
#30 0x00007fffdf0c8ea1 in msg_exe_main(int, char const**, int (*)(int, char const**)) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_msg.so
#31 0x0000000000402011 in main ()
```https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/304Some MS fonts look ugly2021-12-20T02:24:10ZSaikat PatraSome MS fonts look uglyThe issue is affects Calibri and Cambria (might affect other fonts I haven't tested all of them). At certain resolutions and font size the they appear "blocky" (e.g. font size <15 @ 1080p 100% scaling). Googling around I found it can be ...The issue is affects Calibri and Cambria (might affect other fonts I haven't tested all of them). At certain resolutions and font size the they appear "blocky" (e.g. font size <15 @ 1080p 100% scaling). Googling around I found it can be fixed by disabling embedded bitmaps. Adding the following:
```
<match target="font" >
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
```
to my fontconfig fixed the issue as seen in the attachments. If this option doesn't cause any issues with other fonts (it doesn't for me) why not make this the default behavior or atleast provide a preset?
#### Calibri (size 15)
![calibiri15](/uploads/d18da7d5bf1c0833e30046058a1f1dc3/calibiri15.png)
#### Calibri (size 13)
![calibiri13](/uploads/640d9c8b745557ca93ca16915ab0f1dd/calibiri13.png)
#### Calibri (size 13 w/ embedded bitmaps disabled)
![calibiri13_ebdisabled](/uploads/d200ac1c28d0a49238437c8a3047dbb0/calibiri13_ebdisabled.png)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/303Not all OpenType variations detected (Regression in version 2.13.94)2021-12-09T11:41:32ZErik ArvstedtNot all OpenType variations detected (Regression in version 2.13.94)Since version `2.13.94`, fontconfig fails to detect all variations/weights for some fonts.
### Reproduce
```bash
# Download demo font
curl -L https://github.com/erikarvstedt/fontforge-bug-repro/blob/99490c7b5cedb965274e3306f8eb062b69577...Since version `2.13.94`, fontconfig fails to detect all variations/weights for some fonts.
### Reproduce
```bash
# Download demo font
curl -L https://github.com/erikarvstedt/fontforge-bug-repro/blob/99490c7b5cedb965274e3306f8eb062b69577a27/SFNSDisplay.ttf?raw=true -o SFNSDisplay.ttf
fc-scan SFNSDisplay.ttf | grep weight
# This outputs 10 weights with fontconfig <= 2.13.93,
# but only 2 weights with fontconfig 2.13.94
```
Use [this script](https://gist.github.com/10eb1a55f1eab6ae0fa77df290b51334) for a fully specified, isolated repro in a [Nix](https://nixos.org/) build.
I've also reproduced this via the `archlinux@sha256:3ac6d1abecb740c95fe990b0cc15cb6d261cb2b18ab2c541119778f5de71d08e` docker image which contains fontconfig `2.13.94`.