Quantcast
Channel: Active questions tagged fonts - Super User
Viewing all articles
Browse latest Browse all 360

How to make Debian bookworm prefer a newer font version whenever at least two versions of the same font are available?

$
0
0

For the sake of an example, consider two fonts files of the same font:

$ fc-scan /usr/share/fonts/truetype/msttcorefonts/cour.ttf --format='%{family} %{fontversion}\n'Courier New 184812$ egrep -ao "Version [0-9]*\.?[0-9]*" /usr/share/fonts/truetype/msttcorefonts/cour.ttfVersion 2.82$ fc-scan /usr/local/share/fonts/a_link_to_a_folder_on_another_partition/cour.ttf --format='%{family} %{fontversion}\n'Courier New 453509$ egrep -ao "Version [0-9]*\.?[0-9]*" /usr/local/share/fonts/a_link_to_a_folder_on_another_partition/cour.ttfVersion 6.92

However, as of now, font-manager (started as a regular user or via sudo) shows the older version with 1249 glyphs (rather than the newer with 3763 glyphs) when being asked to present Courier New.Links to folders on another partition are hypothetically subject to change or can break, so we would not like to reject/forbid the older font file on the root partition forever. Instead, we would like to allow for the newer font file to take precedence whenever both are available.

How to achieve this for all fonts (and not only for Courier New) in a concise, automatic way?


Viewing all articles
Browse latest Browse all 360

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom