1
******************************************************************
2
********************** XFREE 86 **********************************
3
******************************************************************
5
1. Bitmap fonts (.pcf, .bdf)
6
������� �������� � ���� ��������
10
������� �������� ������������ ��������������� �������������
15
c. TrueType fonts (.ttf, .ttc)
16
Load "freetype" ��� Load "xtt" (�������������� ��������
19
�������� ����� fonts.dir:
20
� ������� "type1inst" - ��� Type1, � "ttmkfdir" - ��� TTF
21
��������� ���� - fonts.scale, ����� ����� � �������
22
mkfontdir ��������� fonts.dir. ��� �� � ���������� ������
23
��������� ���� encodings.dir
26
��� ��� ����� ����� ��������� ������ ���������, � ���������� ���
27
������ ����� ������ ����� XLFD(-*-...) ���� ������ �� ���� ��.
29
��� mapping ���������� ��������� ��������� �����, ����� ����
31
b. Postscript ( Adobe names )
33
d. TrueType cmaps (������������ ������ ����������, �� ����
34
��������� ����� ������� � ����, ��� ����������� ����������
35
��������� �� Unicode ����� � ��� ������������� ����������
36
������������ �� ������)
38
��� encoding ����������, �� ��� ��������������, �.�. ���������
39
��������� �� ������. ������ ���� ��������. ������ ������, ���������
40
��������� (��� ����������) ������� ���� ��������.
43
adobe-fontspecific - ���������� ��������� ����� (Type1)
44
microsoft-fontspecific - ���������� ��������� ����� (TTF)
45
������������ ������ ��� ����������� ������(symbol) ��� ��� ������ �
46
������������� mapping��.
48
��������� ��������� (xterm) �� ���� ��������� �� ������������
49
���� encoding�� � �������� ������ � ������ adobe-fontspecific ���
50
��������� iso8859-1 ��������� �� ����������������� ����!
52
4. QT ��������� ��������� ������������ ���������, ������ ��� ������������
53
��������������� ������(LANG), ����� ������������ ����������.
55
5. OpenOffice �� ����������� � ����������������� (KOI8-R -> ISO8859-1)
58
6. xlsfonts - ������ ����������� ������
59
xfontsel - �������� ����
61
7. ��� ����� ������� ���� ������������ ��� ������ xmodmap(������) � xkb.
62
� ���� ������ xmodmap ��������� ������ �������� 256 ���������� �������,
63
xkb ���������� 2�-�������� ���� ��������(�� unicode), 1�� ���� ��
64
������� ��������� ���������, � ������ ��� ������� � ���...
65
�������������� ��� ����, ��� �� ��������� �������� xkb � ��� ������
66
���� ����������� ���������: ����������� � ������ ��������� ������
68
setlocale(LC_TYPE,""); XLib
69
XtSetLanguageProc(0,0,0); Xt
70
gtk_set_locale(...); gtk
71
����� ���� ��������� LC_TYPE ������ ��������������� ����� �� �������
72
����� ���� ����... (testXlc for test)
74
ru_RU.CP1251 ��� CP1251
75
en_US ��� ����� ����� xmodmap
77
a. ����� ����, XFree86 ����� ������� � (#define X_LOCALE) ����� X11
78
���������, ������ ������ ������ ��������� ������, ������������ X
81
#include <X11/locale.h>
83
b. C xmodmap �������� ��������, ��� ������ � ����������� ����� ��������
84
��� ������� ��������, �� �� ���... (mozilla)
86
c. ������������ ������������ xmodmap � xkb �� ���������, ��� ��� ���
87
���������� ������ ������ ���� �����...
89
d. ��� xkb ���� ��������� "ru-hacked" ������� ��������� ���������
90
��������� xmodmap, ����� ���� ���� ��������� "ru-combined", �������
91
�������� ��� ������� �������: 1) ����������, 2) ����������� xmodmap
93
����� ��� ������������� xkb � ���������� ����������:
94
����� ��������� �������� ��� ������������� ������� ������
95
������ ��������� �� ��������
96
������������� xkb � ����������� ���������� ��� xmodmap:
97
��������� ����� ��������� �� ��������
98
����� ��������� �������� ��� ������������� ���������� ������
99
������ ��������� �������� ��� ����� ������
101
a. xterm(Run from WM) ��� ����� ������ ���������� ��������� ������
102
�������� ��� ������ XServera
104
8. ������������� ��������� ������: