Difference between revisions of "Talk:Font configuration/Examples"

From ArchWiki
Jump to navigation Jump to search
(Patched packages - section for removal: close)
(infinality: close)
Line 12: Line 12:
(Actually I can do this later.) --[[User:Arthur2e5|Arthur2e5]] ([[User talk:Arthur2e5|talk]]) 12:42, 28 April 2016 (UTC)
(Actually I can do this later.) --[[User:Arthur2e5|Arthur2e5]] ([[User talk:Arthur2e5|talk]]) 12:42, 28 April 2016 (UTC)
== infinality ==
== <s>infinality</s> ==
Do you mind if a link to fontconfig-ultimate is added to See also section?
Do you mind if a link to fontconfig-ultimate is added to See also section?

Revision as of 21:50, 16 September 2018

Auto-generation of "use xxx font" config via a script?

Many parts of the config are trivial and can be generated using a shell script with (well) hard-coded templates.

The script should be able to generate these parts:

  • aliasing from one font to another
    • Generic family bidirectional alias generation (like 30-metric-aliases.conf)
    • Optionally, hardcode a list of what 30-metric-aliases.conf knows. That's the most comprehensive list for Latin fonts I have seen.
  • preferring one font for a given family

(Actually I can do this later.) --Arthur2e5 (talk) 12:42, 28 April 2016 (UTC)


Do you mind if a link to fontconfig-ultimate is added to See also section?

—This unsigned comment is by Ubone (talk) 12:47, 20 April 2017‎. Please sign your posts with ~~~~!

First show us what that is here. -- Lahwaacz (talk) 15:47, 20 April 2017 (UTC)
The fontconfig .conf files from bohoomil's infinality bundle https://github.com/bohoomil/fontconfig-ultimate . They're under /conf.d.infinality/ , /doc/fontconfig-infinality-ultimate/fontconfig-user/ and /fontconfig_patches/ . They appear to work with v40 https://github.com/bohoomil/fontconfig-ultimate/issues/191#issuecomment-289799221 and would be useful for a novice. Ubone (talk) 17:16, 20 April 2017 (UTC)
We had a whole page about that project, which was archived in January: [1]. See the archival flag at the top of the last revision for links and the justification. Since there were no updates since then, I don't see why it should be mentioned here. -- Lahwaacz (talk) 18:22, 20 April 2017 (UTC)
because the link im refering to is for the .conf(iguration) files not the whole bundle or the patched packages Ubone (talk) 18:51, 20 April 2017 (UTC)
bohoomil's config files were specifically designed to work with the patched packages, so I don't see the benefit of using them alone. What features do you hope to get from these config combined with the upstream packages? -- Lahwaacz (talk) 18:08, 6 August 2017 (UTC)
Nicer fonts. I have been using them for some months now with the new freetype and I haven't noticed anything specific for the bundle. They are just substitutes which tell some font to be used, like liberation for sans, etc. Ubone (talk) 07:15, 19 December 2017 (UTC)
[a note] IIRC I had dpi set to ~120 [in fonts.conf] instead of the recommended 72, pic is a bit inaccurate. Ubone (talk) 01:04, 20 March 2018 (UTC)
Your picture does not compare anything, so "nicer" is meaningless. I'm seeing qualitatively the same thing even without bohoomil's configs, though I use different fonts in the first place. -- Lahwaacz (talk) 07:32, 19 December 2017 (UTC)
Default without ~/.config/fontconfig/, I haven't touched /etc/fonts/conf.d/ Ubone (talk) 07:47, 19 December 2017 (UTC)
You can get the "nicer" result just by following the Font configuration page, namely Font_configuration#Autohinter and Font_configuration#Subpixel_rendering. That's just about 20 lines of code... -- Lahwaacz (talk) 07:57, 19 December 2017 (UTC)
Not really or if you want arial like fonts and I don't see dejavu as metrically compatible. I understand some things have to be left for the user to do because of the wide user cases however your "nicer" does not include the aliases which was the whole point of this. Anyway, default with paste. I use rgb only personally because the other options make no observable difference for the current freetype with the confs from infinality liberation looks good either way. Ubone (talk) 09:09, 19 December 2017 (UTC)
So it's not only about how the fonts look like, but also which fonts are used. The dejavu fonts are not set as metric-compatible to arial (or anything else) in the default config, they are just preferred over the fonts you like. Obviously you can configure it within a couple of lines - see Metric-compatible fonts for details.
Anyway, I don't see why the formerly famous install-and-forget solution should be mentioned now, since it's unmaintained and does not add anything over the existing documentation. -- Lahwaacz (talk) 09:43, 19 December 2017 (UTC)
The link is for the whole bundle of configs and patches, so I've removed it. -- Lahwaacz (talk) 09:43, 19 December 2017 (UTC)
Instead of editing it in a way that is more likeable to you since this is font examples page and it does have good examples? Ubone (talk) 12:17, 19 December 2017 (UTC)

Example fonts.conf

Can we add this skeletal to ease initial font configuration? -- Ubone (talk) 12:13, 20 May 2018 (UTC)

No, there is nothing new compared to the examples on the Font configuration page which actually explain what they are doing. -- Lahwaacz (talk) 12:34, 20 May 2018 (UTC)


The (AUR) preset replaces font families even if present in the OS which makes them unavailable for applications like gimp. Ubone (talk) 11:13, 15 June 2018 (UTC)

I don't think Infinality-like font substitution belongs in Font_configuration/Examples, it's not really examples. I do think links to the bundle's repo sub dirs (for it's font .conf) are in order but I digress. I'm not sure the provided 30-infinality-aliases.conf is really needed or even desirable as previously mentioned. Users only need to add liberation sans (or similar) in 60-latin.conf to not have the painfully wide dejavu (preferred by default for whatever reason). ― Ubone (talk) 15:20, 2 July 2018 (UTC)

Section has been removed, closing. -- Lahwaacz (talk) 14:14, 13 August 2018 (UTC)

Patched packages - section for removal

is there any reason to keep Font_configuration/Examples#Patched_packages since freetype 2.7 for ubuntu only? it's debian unstable (and outdated) [2][3] and i don't see patches [4] providing anything freetype2 doesn't ― Ubone (talk) 10:12, 13 August 2018 (UTC)

I agree. -- Lahwaacz (talk) 14:14, 13 August 2018 (UTC)