font.rst
changeset 1304 413fa981b7ff
child 1305 2ed26e398af2
equal deleted inserted replaced
1303:322490b33f67 1304:413fa981b7ff
       
     1 .. -*- coding: utf-8; -*-
       
     2 
       
     3 =======
       
     4  Font.
       
     5 =======
       
     6 
       
     7 Show list of avaliable font under X.
       
     8 ====================================
       
     9 
       
    10 To view list of fonts::
       
    11 
       
    12   $ fc-list
       
    13 
       
    14 To view list of monospaced fonts::
       
    15 
       
    16   $ fc-list :spacing=mono
       
    17 
       
    18 View how fonts looks like under X.
       
    19 ==================================
       
    20 ::
       
    21 
       
    22   $ fontsel &
       
    23   $ gucharmap &
       
    24 
       
    25 Configure fonts under X.
       
    26 ========================
       
    27 
       
    28 Read ``man 5 font-config``.
       
    29 
       
    30   http://www.freedesktop.org/software/fontconfig/fontconfig-user.html
       
    31 
       
    32 Setup font for emacs.
       
    33 =====================
       
    34 
       
    35 If X running by xinit, write to ~/.xinitrc
       
    36 
       
    37   xrdb -merge ~/.Xdefaults &
       
    38 
       
    39 and write to ~/.Xdefaults
       
    40 
       
    41   emacs.font: 7x13
       
    42 
       
    43 Setup font for mc.
       
    44 ==================
       
    45 
       
    46 Not any font display correctly cyrillic characters - only those which with
       
    47 ISO 10646. If you in X run MC as::
       
    48 
       
    49   $ xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" -geometry 120x42 -e mc -x
       
    50 
       
    51 Fonts family.
       
    52 =============
       
    53 
       
    54 See
       
    55 
       
    56   http://en.wikipedia.org/wiki/Free_software_Unicode_typefaces
       
    57                 Free typefaces at Wikipedia.
       
    58   http://www.openfontlibrary.org
       
    59                 Open Font Library, a library of free fonts
       
    60   http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=FontsInCyberspace&_sc=1
       
    61                 SIL fonts.
       
    62 
       
    63 DejaVu.
       
    64 -------
       
    65 
       
    66 The DejaVu fonts are a font family based on the Vera Fonts.
       
    67 
       
    68   http://dejavu-fonts.org/wiki/index.php?title=Main_Page
       
    69 
       
    70 For Debian::
       
    71 
       
    72   $ sudo apt-get install ttf-dejavu
       
    73 
       
    74 Core fonts for the Web.
       
    75 -----------------------
       
    76 
       
    77 From Microsoft.
       
    78 
       
    79   http://corefonts.sourceforge.net
       
    80                 mirror
       
    81   http://en.wikipedia.org/wiki/Core_fonts_for_the_Web
       
    82                 Wikipedia article.
       
    83 
       
    84 Liberation.
       
    85 -----------
       
    86 
       
    87 GPL font: Liberation Sans, Liberation Serif and Liberation Mono.
       
    88 
       
    89 As alternative to Arial, Times New Roman, and Courier New.
       
    90 
       
    91   https://fedorahosted.org/liberation-fonts
       
    92                 home page
       
    93   http://en.wikipedia.org/wiki/Liberation_fonts
       
    94                 Wikipedia article.
       
    95 
       
    96 Linux Libertine.
       
    97 ----------------
       
    98 
       
    99 Free and open alternatives to commercial fonts like Times Roman.
       
   100 
       
   101   http://www.linuxlibertine.org
       
   102                 home page
       
   103   http://en.wikipedia.org/wiki/Linux_Libertine
       
   104                 Wikipedia article.
       
   105 
       
   106 SIL (IPA font).
       
   107 ---------------
       
   108 
       
   109 Charis SIL, Doulos SIL, Gentium.
       
   110 
       
   111   http://scripts.sil.org/DoulosSILfont
       
   112   http://scripts.sil.org/CharisSILfont
       
   113   http://scripts.sil.org/Gentium
       
   114 
       
   115 For Debian::
       
   116 
       
   117   $ sudo apt-get install ttf-sil-doulos
       
   118   $ sudo apt-get install ttf-sil-charis
       
   119   $ sudo apt-get install ttf-gentium
       
   120 
       
   121 Junicode.
       
   122 ---------
       
   123 
       
   124 Have beta status.
       
   125 
       
   126   http://en.wikipedia.org/wiki/Junicode
       
   127 
       
   128 How configure font for X?
       
   129 =========================
       
   130 
       
   131 For Debian::
       
   132 
       
   133   $ sudo aptitude install fontconfig-config
       
   134   $ sudo dpkg-reconfigure fontconfig-config
       
   135 
       
   136 Font tuning method for screen:  Native
       
   137 Enable subpixel rendering for screen: Always (или Automatic)
       
   138 Enable bitmapped fonts by default?: No
       
   139 
       
   140 Font development.
       
   141 =================
       
   142 
       
   143 Font development under Microsoft.
       
   144 ---------------------------------
       
   145 
       
   146   http://www.microsoft.com/typography/DevToolsOverview.mspx
       
   147                 Tools & SDKs from Microsoft
       
   148   http://www.microsoft.com/typography/DevArticles.mspx
       
   149                 Articles from Microsoft
       
   150 
       
   151 FontForge.
       
   152 ----------
       
   153 
       
   154 Typeface (font) editor program. BSD licence.
       
   155 
       
   156   http://fontforge.sourceforge.net
       
   157                 home page
       
   158   http://en.wikipedia.org/wiki/FontForge
       
   159                 Wikipedia article.
       
   160 
       
   161 Best font for reading.
       
   162 ======================
       
   163 
       
   164 Рубленые (Гротески).
       
   165 --------------------
       
   166 
       
   167 Arial, Verdana, Helvetica.
       
   168 
       
   169 Verdana наиболее читабельный, у Arial слишком буквы слипаются.
       
   170 
       
   171 TODO
       
   172 
       
   173 Trebushet MS
       
   174 AcademyTT
       
   175 
       
   176 Droid
       
   177 Georgia
       
   178 sans-serif
       
   179 Calibri
       
   180 Candara
       
   181 
       
   182 liberation serif
       
   183 
       
   184 Book Antiqua
       
   185 
       
   186 Garamond
       
   187 Bookman
       
   188 
       
   189 Tahoma
       
   190 
       
   191 Courier New, Times New Roman, Lucida Sans Unicode
       
   192 
       
   193 Подчеркнутый, полужирный или курсивный текст.
       
   194 
       
   195 Serif - это шрифт с засечками, антиква.
       
   196