Changeset e73a0309


Ignore:
Timestamp:
11/25/2023 02:51:02 AM (6 months ago)
Author:
Ken Moffat <ken@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
f072b06f
Parents:
9fc45066
Message:

tuningfonts: How to find if a font has hinting.

Many older fonts, and even some currently-developed fonts such as
Junicode, lack hints. Before exploring hinting options it makes
sens to check that the font being used does indeed have hints.

Placed in 'Useful Commands' ahead of the Pango example, because
it is a plain fontconfig command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/tuning-fontconfig.xml

    r9fc45066 re73a0309  
    174174      :lang=en</command> shows Noto Sans Mono will be used, but if the lang is
    175175      changed to 'ar' (arabic) DejaVu Sans will be used.
     176    </para>
     177
     178    <para>
     179      If you want to determine if a font file has hinting (many older fonts do not,
     180      because it was patented) use <command>fc-query
     181      <replaceable>/path/to/fontfile</replaceable> | grep 'fonthashint:'</command>:
     182      which will report 'True(s)' or 'False(s)'.
    176183    </para>
    177184
Note: See TracChangeset for help on using the changeset viewer.