fontconfig issueshttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues2019-07-04T12:21:18Zhttps://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/124Apply WWS name fixing by default2019-07-04T12:21:18ZNicolas MailhotApply WWS name fixing by defaultSo it's been a decade Behdad posted a link to the WPF font selection model on the fontconfig mailing list, everyone agreed it was a good idea, and yet after all this time there is zero progress unix side to fix our fonts
https://blogs...So it's been a decade Behdad posted a link to the WPF font selection model on the fontconfig mailing list, everyone agreed it was a good idea, and yet after all this time there is zero progress unix side to fix our fonts
https://blogs.msdn.microsoft.com/text/2007/04/23/wpf-font-selection-model/
Freedesktop apps can't grow working width and stretch selectors while the fonts available on freedesktop systems do not follow clean face naming rules, and both old and new fonts have no incentive to get this right while apps are not enhanced.
Even brand-new actively developped font sets that try to get everything right including source availability still get this wrong (ibm plex is one example https://github.com/IBM/plex)
This is a typical catch-22 situation.
And in the meanwhile variable fonts are appearing, and they also depend on apps geting stretch and width selectors, which again won't happen while the existing font set is a mess, and no one is going to fix the exisiting font set in a year, or even a decade, there are too many different font upstreams some not caring about freedesktop systems, others dormant or dead.
Fontconfig exists to fix such problems, please make the family and face name returned by fontconfig conform to the WWS model, fontconfig can still find fonts by the old name if so requested, as is done with the postsctipt name. Just return clean uniform corrected names to apps so apps can start doing smart things with them.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/114man pages for conf2019-05-27T04:49:07ZAkira TAGOHman pages for confmissing man pages for config files. good to provide one.missing man pages for config files. good to provide one.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/111Show color emoji even when font provides a character2021-01-11T13:49:47ZJeremy BichaShow color emoji even when font provides a characterSome emoji characters use old Unicode character points and therefore have representations in typical fonts. I believe users would rather see the color emoji representation.
This might be a bit tricky to handle since I think the current ...Some emoji characters use old Unicode character points and therefore have representations in typical fonts. I believe users would rather see the color emoji representation.
This might be a bit tricky to handle since I think the current implementation just falls back to a color emoji font when a character isn't found in the regular font.
Would it make sense to have a white list of these characters?
Test Case
---------
`☢` ☢ U+2622 radioactive sign
System Info
-----------
* Ubuntu 18.10
* fontconfig 2.13.0
* fonts-noto-color-emoji 20180810https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/108Provide a way to disable json-c2018-09-04T02:09:35ZRyan Carsten SchmidtProvide a way to disable json-cNew in fontconfig 2.13.1, it looks for json-c at configure time and links with it at build time if it was found. This is only used for an optional test in the test suite.
I can't find an obvious way to disable this. It would be good to ...New in fontconfig 2.13.1, it looks for json-c at configure time and links with it at build time if it was found. This is only used for an optional test in the test suite.
I can't find an obvious way to disable this. It would be good to have an easy way, such as a configure flag, to allow me to specify that I don't want json-c to be looked for or used, even if it is present. (If there is a way to do it and I've missed it, please let me know how.)
This will help when cross-compiling. For example, if I'm trying to build a universal binary of fontconfig, and I have json-c installed non-universally, the build of fontconfig will fail when it can't find the other architecture in the json-c files. See https://trac.macports.org/ticket/57081.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/106RFE: allow merging of legacy font family names2019-12-08T10:46:35ZBugzilla Migration UserRFE: allow merging of legacy font family names## Submitted by Nicolas Mailhot
Assigned to **fon..@..op.org**
**[Link to original bug (#18725)](https://bugs.freedesktop.org/show_bug.cgi?id=18725)**
## Description
Historically font formats only allowed four faces regular, bold,...## Submitted by Nicolas Mailhot
Assigned to **fon..@..op.org**
**[Link to original bug (#18725)](https://bugs.freedesktop.org/show_bug.cgi?id=18725)**
## Description
Historically font formats only allowed four faces regular, bold, italic, bold italic. You had to use a separate font family to distribute condensed, heavy etc variants
This has changed (cf http://blogs.msdn.com/text/attachment/2249036.ashx ) and modern fonts such as DejaVu include all faces under a single family name. Applications such as OO.o are being fixed to handle multifaced fonts
Unfortunately there are still many historic fonts in the wild distributed in several sets of four faces (gs fonts, arial narrow, arial bold, etc). Those fonts currently appear under different family names in fontconfig-using apps. This is perturbing to users, since the same faces of historic and modern fonts are not handled the same way. Microsoft did some sort of magic in uniscribe to hide this distinction (irrelevant to users).
Please provide a documented config pattern for font distributors that enables them to declare to fontconfig "font family A and font family B are the same, please expose all the associated faces under A name to users".
(of course an application asking explicitely for B should still get it, but users would only see A in font lists)
Version: 2.6https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/105Please add kut, ojb, mic orth file2018-08-20T21:55:50ZBugzilla Migration UserPlease add kut, ojb, mic orth file## Submitted by Neskie Manuel
Assigned to **fon..@..op.org**
**[Link to original bug (#16188)](https://bugs.freedesktop.org/show_bug.cgi?id=16188)**
## Description
Here are Orthographies for:
Ktunaxa (kut) - an isolate in BC
Ojib...## Submitted by Neskie Manuel
Assigned to **fon..@..op.org**
**[Link to original bug (#16188)](https://bugs.freedesktop.org/show_bug.cgi?id=16188)**
## Description
Here are Orthographies for:
Ktunaxa (kut) - an isolate in BC
Ojibway (ojb) - One of the many dialects of Ojibway. This is the non-syllabics version.
Mi'kmaw (mic) - an Indigenous Language spoken in the Maritimes of Canada.
Version: 2.6https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/104Enhance fontconfig to render Microsoft fonts better2018-08-20T21:55:44ZBugzilla Migration UserEnhance fontconfig to render Microsoft fonts better## Submitted by Charles
Assigned to **fon..@..op.org**
**[Link to original bug (#7662)](https://bugs.freedesktop.org/show_bug.cgi?id=7662)**
## Description
You could incorporate these enhancements into fontconfig:
http://www.ubunt...## Submitted by Charles
Assigned to **fon..@..op.org**
**[Link to original bug (#7662)](https://bugs.freedesktop.org/show_bug.cgi?id=7662)**
## Description
You could incorporate these enhancements into fontconfig:
http://www.ubuntuforums.org/showthread.php?t=208396
Many people have asked for it on the Internet, and these configurations don't
affect regular fonts rendering so that everybody's happy :)
Version: 2_1
### Blocking
* [Bug 8100](https://bugs.freedesktop.org/show_bug.cgi?id=8100)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/103Merge some optimisation works by Michal Srb?2019-12-04T05:54:59ZBugzilla Migration UserMerge some optimisation works by Michal Srb?## Submitted by Mingcong Bai
Assigned to **fon..@..op.org**
**[Link to original bug (#105102)](https://bugs.freedesktop.org/show_bug.cgi?id=105102)**
## Description
First described in his paper ¹ to optimise various fontconfig alg...## Submitted by Mingcong Bai
Assigned to **fon..@..op.org**
**[Link to original bug (#105102)](https://bugs.freedesktop.org/show_bug.cgi?id=105102)**
## Description
First described in his paper ¹ to optimise various fontconfig algorithms, his work ² has proven to be beneficial especially with LibreOffice. With current 2.12.6 it is practically impossible to scroll through the font listing when a full set of Noto and Noto CJK fonts are installed, scrolling can cause the UI to lock up for more than a second which practically destroys the user experience.
With patches generated from his work - applied upon 2.12.6, this issue has gone away. I was trying to test https://bugs.freedesktop.org/show_bug.cgi?id=105085 with 2.12.92, however, these patches would no longer apply to the newest code, as extensive API changes were made - it would be a shame to waste all these optimisation works...
--------
¹ https://www.theseus.fi/bitstream/handle/10024/124694/Srb_Michal.pdf?sequence=1
² https://github.com/michalsrb/fontconfig
Version: 2.12https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/102Add new and preferred Korean fonts in the default config2018-08-20T21:52:42ZBugzilla Migration UserAdd new and preferred Korean fonts in the default config## Submitted by Changwoo Ryu
Assigned to **fon..@..op.org**
**[Link to original bug (#99971)](https://bugs.freedesktop.org/show_bug.cgi?id=99971)**
## Description
Created attachment 129928
Update Korean fonts in the default config...## Submitted by Changwoo Ryu
Assigned to **fon..@..op.org**
**[Link to original bug (#99971)](https://bugs.freedesktop.org/show_bug.cgi?id=99971)**
## Description
Created attachment 129928
Update Korean fonts in the default config
Since the changes in [bug 42423](https://bugs.freedesktop.org/show_bug.cgi?id=42423), several new Hangul (Korean) fonts has been released under Free and Open Source licenses. They are considered better than old NanumGothic fonts as the default Korean sans-serif/serif/monospace.
So I propose to change the default config:
- Noto Sans CJK KR and NanumBarunGothic are preferred to NanumGothic as sans.
- Noto Sans Mono CJK KR and D2Coding are preferred to NanumGothicCoding as monospace.
- Remove some Korean fonts, which are not typewriter style ones, from monospace.
**Patch 129928**, "Update Korean fonts in the default config":
[fontconfig-korean-defaults-2017.diff](/uploads/9ff1838bd8b5d915e06e9a4d16e5462c/fontconfig-korean-defaults-2017.diff)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/101Add ortho file for locale sd_IN@devanagari2018-08-20T21:52:34ZBugzilla Migration UserAdd ortho file for locale sd_IN@devanagari## Submitted by Parag
Assigned to **fon..@..op.org**
**[Link to original bug (#25647)](https://bugs.freedesktop.org/show_bug.cgi?id=25647)**
## Description
please add ortho file for locale sd_IN@devanagari which is devanagari scri...## Submitted by Parag
Assigned to **fon..@..op.org**
**[Link to original bug (#25647)](https://bugs.freedesktop.org/show_bug.cgi?id=25647)**
## Description
please add ortho file for locale sd_IN@devanagari which is devanagari script based language.
Version: 2.8
### Depends on
* [Bug 42900](https://bugs.freedesktop.org/show_bug.cgi?id=42900)
### Blocking
* [Bug 35485](https://bugs.freedesktop.org/show_bug.cgi?id=35485)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/100Add way to FcNameUnparse to specify weak binding?2018-08-20T21:52:32ZBugzilla Migration UserAdd way to FcNameUnparse to specify weak binding?## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#103727)](https://bugs.freedesktop.org/show_bug.cgi?id=103727)**
## Description
Would be nice. Right now there's no way to generate patterns ...## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#103727)](https://bugs.freedesktop.org/show_bug.cgi?id=103727)**
## Description
Would be nice. Right now there's no way to generate patterns with weak bindings from command-line.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/99RFE: subpixel hinting support2018-08-20T21:52:28ZBugzilla Migration UserRFE: subpixel hinting support## Submitted by Akira TAGOH `@tagoh`
Assigned to **fon..@..op.org**
**[Link to original bug (#51212)](https://bugs.freedesktop.org/show_bug.cgi?id=51212)**
## Description
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/com...## Submitted by Akira TAGOH `@tagoh`
Assigned to **fon..@..op.org**
**[Link to original bug (#51212)](https://bugs.freedesktop.org/show_bug.cgi?id=51212)**
## Description
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=79e36baebba4532dff92ca1ca43c4dc2f779fd32https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/98Config format (and api?) to define virtual families2018-08-20T21:52:25ZBugzilla Migration UserConfig format (and api?) to define virtual families## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#90428)](https://bugs.freedesktop.org/show_bug.cgi?id=90428)**
## Description
Right now we recognize sans-serif, serif, monospace, fantasy, an...## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#90428)](https://bugs.freedesktop.org/show_bug.cgi?id=90428)**
## Description
Right now we recognize sans-serif, serif, monospace, fantasy, and cursive but user has to know that. Would be nice to allow defining those formally, and let user define more.
That would be useful for a font-manager kind of scenario, where one can define new virtual families and add multiple fonts as a stack to it.
The latter can be done using existing configuration facilities (mostly), so the part missing is just making it appear in FcFontList() output.
No idea what the config / API for this should look like.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/97Support variation selectors2018-08-20T21:52:22ZBugzilla Migration UserSupport variation selectors## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#82266)](https://bugs.freedesktop.org/show_bug.cgi?id=82266)**
## Description
I think can support this internally by including a unicode,selec...## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#82266)](https://bugs.freedesktop.org/show_bug.cgi?id=82266)**
## Description
I think can support this internally by including a unicode,selector pair as (selector<<21)|unicode value in the charset, but provide new API to the charset for querying. Or maybe expose that convention all the way to the API. Here's some code to that extent:
unsigned int var_num = 0;
if (variation_selector - 0xFE00u < 16)
var_num = variation_selector - 0xFE00 + 1;
else if (variation_selector - 0xE0100u < (256 - 16))
var_num = variation_selector - 0xE0100 + 17;
unicode = (var_num << 21) | unicode;
Note that currently FcCharSetPutLeaf has:
ucs4 >>= 8;
if (ucs4 >= 0x10000)
return FcFalse;
so the top byte of the ucs4 has been unused. Unfortunately the top byte is not enough as there are 256 values to fit, not 255 :(.https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/95The default configure mix up "Song Ti" and "Hei Ti"2018-08-20T21:52:10ZBugzilla Migration UserThe default configure mix up "Song Ti" and "Hei Ti"## Submitted by Yangtse Su
Assigned to **fon..@..op.org**
**[Link to original bug (#61553)](https://bugs.freedesktop.org/show_bug.cgi?id=61553)**
## Description
Created attachment 75630
40-nonlatin.conf
There are three generic fo...## Submitted by Yangtse Su
Assigned to **fon..@..op.org**
**[Link to original bug (#61553)](https://bugs.freedesktop.org/show_bug.cgi?id=61553)**
## Description
Created attachment 75630
40-nonlatin.conf
There are three generic font, serif sans-serif and monospace.
The chinese font family Song Ti are serif.
The chinese font family Hei Ti are sans-serif.
And only "WenQuanYi Zen Hei Mono",and "AR PL New Sung Mono",have Mono.
There is another font family call "Kai Ti".This font is none of the three,should not be in 40-nonlatin.conf 65-nonlatin.conf.
I have edit this two file,and add two new font"WenQuanYi Zen Hei"(now the default Chinese font for Ubuntu) and "Droid Sans Fallback"(From Android.),and two Hei Ti from Microsoft.
**Attachment 75630**, "40-nonlatin.conf":
[40-nonlatin.conf](/uploads/6e9c5a28cf8f4353ac099e1b12428aef/40-nonlatin.conf)
Version: 2_1
### See also
* https://bugs.freedesktop.org/show_bug.cgi?id=20911https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/94FcConfigReinitialize loses all config settings2018-08-20T21:52:06ZBugzilla Migration UserFcConfigReinitialize loses all config settings## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#17123)](https://bugs.freedesktop.org/show_bug.cgi?id=17123)**
## Description
AppFonts, EnableHome, RescanInterval.
It should copy them from o...## Submitted by Behdad Esfahbod
Assigned to **fon..@..op.org**
**[Link to original bug (#17123)](https://bugs.freedesktop.org/show_bug.cgi?id=17123)**
## Description
AppFonts, EnableHome, RescanInterval.
It should copy them from old config to new config for the least.
Version: 2.4https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/93Support for sFamilyClass font attribute to allow searching by serif style2018-08-20T21:51:56ZBugzilla Migration UserSupport for sFamilyClass font attribute to allow searching by serif style## Submitted by Eric Wasylishen
Assigned to **Akira TAGOH `@tagoh`**
**[Link to original bug (#29497)](https://bugs.freedesktop.org/show_bug.cgi?id=29497)**
## Description
The OpenType spec has a field called sFamilyClass in the r...## Submitted by Eric Wasylishen
Assigned to **Akira TAGOH `@tagoh`**
**[Link to original bug (#29497)](https://bugs.freedesktop.org/show_bug.cgi?id=29497)**
## Description
The OpenType spec has a field called sFamilyClass in the required OS/2 table, which allows the font designer to classify the font based on a "family class" (e.g. serif, sans-serif) and "family subclass" (e.g. modern, old style).
See:
http://www.microsoft.com/typography/otspec/os2.htm#fc
and:
http://www.microsoft.com/typography/otspec/ibmfc.htm
It would be really nice if Fontconfig read this field from fonts and allowed searching based on it (probably treating it as two separate fields: maybe FC_FAMILY_CLASS and FC_FAMILY_SUBCLASS?)
In my opinion, this kind of classification would be really useful to present to users for choosing fonts. I would be happy to write a patch if you think this is a good idea.. :-)
Version: 2_1
### Blocking
* [Bug 30225](https://bugs.freedesktop.org/show_bug.cgi?id=30225)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/92please do not register WOFF(2) fonts2023-08-02T12:51:13ZBugzilla Migration Userplease do not register WOFF(2) fonts## Submitted by Fabian Greffrath
Assigned to **fon..@..op.org**
**[Link to original bug (#101270)](https://bugs.freedesktop.org/show_bug.cgi?id=101270)**
## Description
Created attachment 131636
We don't register WOFF(2) fonts wit...## Submitted by Fabian Greffrath
Assigned to **fon..@..op.org**
**[Link to original bug (#101270)](https://bugs.freedesktop.org/show_bug.cgi?id=101270)**
## Description
Created attachment 131636
We don't register WOFF(2) fonts with fontconfig because of the W3C spec
Forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863835
Dear fontconfig devs,
currently, fontconfig registers all fonts installed into the
/usr/share/fonts directory hierarchy. This may, however, contain fonts
that are not meant to be exposed to general applications and are only
there to adhere to the FHS specs.
One example are fonts in the WOFF(2) file formats. From the official
W3C WOFF specs (https://www.w3.org/TR/WOFF/):
"2. General Requirements
The primary purpose of the WOFF format is to package fonts linked to
Web documents by means of CSS @font-face rules. User agents supporting
the WOFF file format for linked fonts must respect the requirements of
the CSS3 Fonts specification ([CSS3-Fonts] Section 4.1: The @font-face
rule). In particular, such linked fonts are only available to the
documents that reference them; they MUST NOT be made available to
other applications or documents on the user's system.
NOTE: the WOFF format is intended for use with @font-face to provide
fonts linked to specific Web documents. Therefore, WOFF files must not
be treated as an installable font format in desktop operating systems
or similar environments. The WOFF-packaged data will typically be
decoded to sfnt format for use by existing font-rendering APIs that
expect OpenType font data, but such decoded font must not be exposed
to other documents or applications."
So, please refrain from registering fonts in WOFF(2) formats with
fontconfig. This can be achieved by installing the attached fontconfig
snippet, courtesy of Nicolas Spalinger <nicolas_spalinger@sil.org>,
as /etc/fonts/conf.d/70-no-woffs.conf .
I'd prefer to reject these fonts based on the fontformat information,
but fontconfig reports them to be in "TrueType" format on the systems
that I currently have access to. Alternatively, the globbing could be
changed to apply to the file name extension, if fontconfig supports that
(the user docs state that "globs only apply to directories, not to
individual fonts" although it provides "*.pcf.gz" among the examples).
Thanks!
Cheers,
- Fabian
**Attachment 131636**, "We don't register WOFF(2) fonts with fontconfig because of the W3C spec":
[70-no-woffs.conf](/uploads/e5d6d249de808797bca0dffdd2c5e449/70-no-woffs.conf)https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/91Request for inclusion of Kongo language.2018-08-20T21:51:42ZBugzilla Migration UserRequest for inclusion of Kongo language.## Submitted by lun..@..io.com
Assigned to **fon..@..op.org**
**[Link to original bug (#30354)](https://bugs.freedesktop.org/show_bug.cgi?id=30354)**
## Description
Created attachment 38919
orthography file for Kongo language.
He...## Submitted by lun..@..io.com
Assigned to **fon..@..op.org**
**[Link to original bug (#30354)](https://bugs.freedesktop.org/show_bug.cgi?id=30354)**
## Description
Created attachment 38919
orthography file for Kongo language.
Hello,
as explained on this page: http://live.gnome.org/TranslationProject/NewLanguage, I wish to add the Kongo language.
Therefore, I have created the required files (glibc locale, fontconfig orthography, translations).
Here is some information regarding the Kongo language:
It is spoken (mainly) in Angola, Congo, Dem. Rep. of Congo. Its ISO code is kg.
It can be written with either a variant of the latin alphabet:
http://en.wikipedia.org/wiki/Kikongo
or preferably with the Mandombe script: http://fr.wikipedia.org/wiki/Mandombe.
Thanks.
**Attachment 38919**, "orthography file for Kongo language.":
[kg.orth](/uploads/01cbeead75b4d3646065e12075b2a32e/kg.orth)
Version: 2.9https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/90FIR filters with custom constants from fontconfig2019-07-25T05:16:11ZBugzilla Migration UserFIR filters with custom constants from fontconfig## Submitted by Robin Johnson
Assigned to **fon..@..op.org**
**[Link to original bug (#27386)](https://bugs.freedesktop.org/show_bug.cgi?id=27386)**
## Description
There have been a number of subjective patches around for altering...## Submitted by Robin Johnson
Assigned to **fon..@..op.org**
**[Link to original bug (#27386)](https://bugs.freedesktop.org/show_bug.cgi?id=27386)**
## Description
There have been a number of subjective patches around for altering the FIR constants used in ./freetype-2.3.12/src/base/ftlcdfil.c
I've seen at least 4 different sets of values:
light: { 0, 85, 86, 85, 0 }
default: { 0x10, 0x40, 0x70, 0x40, 0x10 }
gentoo-bug306053:{ 0x1C, 0x38, 0x55, 0x38, 0x1C }
russian forum: {8, 28, 100, 80, 40};
Here was the Gentoo bug:
http://bugs.gentoo.org/show_bug.cgi?id=306053
We told the user to take it upstream, he never did, but it came up again.
Here's the google cache of Russian forum post, as the original seems to have gone:
http://tinyurl.com/yl5kyup
Can we please introduce a way to set the constants from fontconfig, and let the users duke it out amongst themselves?
Version: 2.8