font.rst
changeset 2038 48a7006b47f7
parent 2037 82a4f625d6fe
child 2228 837f1337c59b
equal deleted inserted replaced
2037:82a4f625d6fe 2038:48a7006b47f7
    32   $ fontypython &
    32   $ fontypython &
    33 
    33 
    34   $ sudo apt-get install font-manager
    34   $ sudo apt-get install font-manager
    35   $ font-manager &
    35   $ font-manager &
    36 
    36 
    37 View how fonts looks like under X.
    37 View how fonts looks like under X
    38 ==================================
    38 =================================
    39 ::
    39 ::
    40 
    40 
    41   $ xfontsel &
    41   $ xfontsel &
    42   $ gucharmap &
    42   $ gucharmap &
       
    43   $ xfd -fa "DejaVu Sans Mono"
       
    44 
       
    45 Inspect font properties
       
    46 =======================
       
    47 
       
    48 View general font info::
       
    49 
       
    50   $ fc-query  $FONT.ttf
       
    51 
       
    52 View font tables::
       
    53 
       
    54   $ sudo apt-get install fonttools
       
    55   $ ttx -l  $FONT.ttf
       
    56 
       
    57 Dump font tables in XML formtat (check out ``.ttx`` file)::
       
    58 
       
    59   $ ttx $FONT.ttf
    43 
    60 
    44 Configure fonts under X.
    61 Configure fonts under X.
    45 ========================
    62 ========================
    46 
    63 
    47 Read ``man 5 font-config``.
    64 Read ``man 5 font-config``.