summaryrefslogtreecommitdiff
path: root/conf.d
Commit message (Collapse)AuthorAgeFilesLines
* Enable 10-sub-pixel-rgb.conf by defaultAkira TAGOH2022-10-172-0/+2
|
* Add config files to enable/disable antialiasAkira TAGOH2022-10-144-0/+22
|
* link_confs.py: Fix prepending DESTDIR to absolute pathXavier Claessens2022-09-131-1/+3
| | | | | | | Stripping the first char of a path to make it relative only works with UNIX paths like '/prefix' but not with Windows paths like 'c:\prefix'. This copies the code Meson uses.
* meson: add 'default-hinting' optionTim-Philipp Müller2022-07-021-1/+1
| | | | Fixes #244
* meson: Use fc_configdir where appropriate during buildJeremy Huddleston Sequoia2022-06-201-2/+2
| | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* meson: Use fc_templatedir and fc_baseconfigdir are used when installing configsJeremy Huddleston Sequoia2022-06-201-6/+5
| | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* Add a missing file 48-spacing.confAkira TAGOH2022-02-041-0/+1
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/310
* Always add the family name from spacing=100Pierre Ducroquet2022-01-131-12/+3
|
* It seems this qual doesn't work on integersPierre Ducroquet2022-01-131-1/+1
|
* Reference the new configuration filePierre Ducroquet2022-01-132-0/+3
|
* Add a configuration to switch to monospace if spacing=100 is requestedPierre Ducroquet2022-01-131-0/+25
| | | | | | | | | 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/60-latin.conf: Make Noto default.Akira TAGOH2021-11-081-0/+3
|
* Enable 11-lcdfilter-default.conf by defaultAkira TAGOH2021-07-202-0/+2
| | | | | | Some applications needs this enabled by default on non-GNOME desktops. reference: https://bugzilla.redhat.com/show_bug.cgi?id=1965684
* Better wording for comments in configAkira TAGOH2021-06-2515-60/+60
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/274
* Handle absolute sysconfdir when installing symlinksHeiko Becker2021-03-031-1/+8
| | | | | | | | sysconfdir defaults to /etc when the prefix is set to /usr. But joining MESON_INSTALL_DESTDIR_PREFIX and sysconfdir when the latter is an absoulte path, results in sysconfdir only. Which might lead to an error during install because /etc/fonts/conf.d/ might already exist from an pre-existing fontconfig installation.
* Overwrite symlinks for config filesAkira TAGOH2021-03-021-2/+4
| | | | | | | | | | | In Makefile, we are trying to remove old symlinks first and then create a symlink. do the same thing in meson too. Also, the line of the exception handling for FileExistsError is meaningless as the above line is taking care of it instead and we shouldn't ignore it if os.remove and os.symlink doesn't work somehow. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/275
* Windows: Fix symlink privilege error detectionXavier Claessens2021-02-151-1/+2
| | | | | The message is in e.args[1] and not e.args[0] at least with python 3.8. Should be more future proof like this in case it change again.
* Add Courier Std aliases. Fixes #262.xiota2020-11-042-0/+11
|
* Add Meson build systemTim-Philipp Müller2020-07-313-0/+161
| | | | See https://mesonbuild.com
* Fix some typos/spelling errorsAlan Coopersmith2020-07-211-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Drop Bitstream Vera fonts from 60-latin.confAkira TAGOH2020-06-021-3/+0
| | | | | | Bitstream Vera fonts seems broken so dropped them there. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/26
* Drop elements with its namespace from confAkira TAGOH2020-05-2535-141/+0
| | | | | | | | The translation related elements are now provided by separate files fontconfig.its and fontconfig.loc. we don't need to have it in conf anymore. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/234
* Use an URN for DTD IDNicolas Mailhot2020-03-2836-36/+36
| | | | | | | | | | | | | | | | | | | | | XML tools interpret “fonts.dtd” as a relative path. Unfortunately, that can not work now that the configuration is spread over multiple system-dependant directories, without a common relative path to this file. And, an absolute path can not be defined in a system-independant way. System independance is a requirement to share config files between systems. Therefore, replace the broken relative path by a formal URN, that will work the same way on all systems, without network access. This makes the DTD registerable with commands like: $ xmlcatalog --noout --add system \ "urn:fontconfig:fonts.dtd" \ "file:///usr/share/xml/fontconfig/fonts.dtd" \ /etc/xml/catalog That enables easy config file checking: $ xmllint --loaddtd ${config_file} >/dev/null
* conf: Add JoyPixels emoji fontJan Tojnar2019-08-292-0/+5
| | | | | | It is a successor of EmojiOne. https://www.joypixels.com/
* Add FC_FONT_HAS_HINT property to see if font has hinting or not.Akira TAGOH2019-07-292-0/+21
| | | | This may helps to enable autohint only when font doesn't have any hinting
* Add 35-lang-normalize.confAkira TAGOH2019-07-261-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a situation where the score of lang becomes lower or equal to others and then figures out the best font according to other properties and the order of family names. This typically happens only when our orthography files are the subset of lang in patterns. i.e. fc-match :lang=en-us to match on en.orth. In this case, the score is lower than the exact match (en to en) and the partial match (en to en-us). thus, the result of 'fc-match :lang=en-us' isn't necessarily same to 'fc-match :lang=en'. So 35-lang-normalize.conf contains languages only which is available as orth without countries and tries to update properties to match on orth exactly like: <match> <test name="lang" compare="contains"> <string>en</string> </test> <edit name="lang" mode="assign" binding="same"> <string>en</string> </edit> </match> Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/155
* Add reset-dirs elementAkira TAGOH2019-04-032-0/+10
| | | | | | This element removes all of fonts directories where added by dir elements. it is useful to override fonts dirs from system to their own dirs only.
* Add system-ui generic familyAkira TAGOH2019-02-274-0/+169
| | | | | | | The generic family of 'system-ui' name is being proposed in a draft of next CSS Fonts. This would be nice to support in fontconfig too. https://www.w3.org/TR/css-fonts-4/
* Use Rachana instead of Meera for MalayalamAkira TAGOH2018-11-131-1/+1
| | | | Meera is a sans-serif font for Malayalam. that should be substituted for serif.
* Drop Mitra Mono from 65-nonlatin.confAkira TAGOH2018-10-291-1/+0
| | | | | | This font seems totally broken. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/128
* Change the emboldening logic againAkira TAGOH2018-05-111-2/+2
| | | | | | enable emboldening when request was >= bold and font was <= medium https://bugs.freedesktop.org/show_bug.cgi?id=106460
* Add the ruleset description supportAkira TAGOH2017-11-0734-0/+168
| | | | | | | | | | | | | | | Trying to address what these configuration files really do. This change allows to see the short description that mention the purpose of the content in the config file and obtain them through API. This change also encourage one who want to make some UI for the user-specific configuration management. it is the main purpose of this change for me though. Aside from that, I've also made programs translatable. so we see more dependencies on the build time for gettext, and itstool to generate PO from xml.
* conf: Prefer system emoji fonts to third-party onesBastien Nocera2017-10-052-9/+12
| | | | | | | | | | | | | | | | Prefer the system provided emoji fonts on systems which provide one, such as Windows, MacOS and Android, even if the Emoji One or Emoji Two fonts are installed. This also allows free software OSes such as GNOME to prefer the Emoji One font, which is not used in other OSes and therefore has a unique brand identity, by installing them and only them by default. Users can use more capable fonts while Emoji One and Emoji Two catch up by installing a font otherwise already used by another system, such as Google's freely redistributable Noto Emoji font. https://bugzilla.redhat.com/show_bug.cgi?id=1496761
* Adjust emboldening logicBehdad Esfahbod2017-09-201-3/+3
| | | | | | | Old logic was really bad. If you requested weight=102 and got a medium font (weight=100), it would still enable emboldening... Adjust it to only embolden if request was >= bold and font was <= regular.
* build: Remove references to deleted fileFlorian Müllner2017-09-161-2/+0
| | | | | Commit cc67d7df17 removed 30-urw-aliases.conf, so don't try to install it.
* conf.d: Drop aliases for (URW)++ fontsDavid Kaspar [Dee'Kej]2017-09-142-59/+3
| | | | | They have become a part of (URW)++ upstream release now: https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
* Update similar to emoji'sAkira TAGOH2017-08-231-0/+14
|
* Adjust color emoji config some moreBehdad Esfahbod2017-08-032-21/+35
| | | | | | Seems to work now. Either asking for family emoji, or :lang=und-zsye returns the preferred color emoji font available, or just any color emoji font if none of the preferred ones was found.
* MinorBehdad Esfahbod2017-08-022-26/+38
|
* Add und-zsye.orth to support emoji in langAkira TAGOH2017-08-021-0/+35
|
* Add EmojiOne Mozilla fontBehdad Esfahbod2017-08-022-4/+9
|
* Add Twitter Color EmojiBehdad Esfahbod2017-08-022-0/+5
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=94551#c33
* Add generic family matching for "emoji" and "math"Behdad Esfahbod2017-07-313-0/+108
| | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=94551
* Bug 101726 - Sans config pulls in Microsoft Serifed fontAkira TAGOH2017-07-111-3/+2
| | | | | | | | Update 65-nonlatin.conf to have better choice of the sans-serif fonts for Chinese Patch from Joseph Wang https://bugs.freedesktop.org/show_bug.cgi?id=101726
* Update aliases for URW June 2016Masamichi Hosoda2016-09-234-13/+67
| | | | | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=c8342b4a7b6cdcc4cb1261bf2b008f6df257b5c6 http://git.ghostscript.com/?p=urw-core35-fonts.git;a=commit;h=79bcdfb34fbce12b592cce389fa7a19da6b5b018
* Fix PostScript font alias nameMasamichi Hosoda2016-09-161-6/+6
| | | | | `Helvetica Condensed' is not PostScript base 35 fonts. `Helvetica Narrow' is PostScript base 35 fonts.
* Add --with-default-hinting to configureAkira TAGOH2016-06-231-1/+1
|
* Correct one for the previous changeAkira TAGOH2016-05-261-4/+0
|
* 45-latin.conf: Add some Windows fonts to categorize them properlyAkira TAGOH2016-05-251-32/+104
| | | | | | | | | | | | For Serif: Cambria, Constantia, Elephant, MS Serif For Sans Serif: Arial Unicode MS, Britannic, Calibri, Candara, Century Gothic, Corbel, Haettenschweiler, MS Sans Serif, Tahoma, Twentieth Century For Monospace: Consolas, Fixedsys, Terminal
* Add hintstyle templates and make hintslight defaultAkira TAGOH2015-12-025-0/+57
|