/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux/locale/xorg/xfree86.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
******************************************************************
 
2
********************** XFREE 86 **********************************
 
3
******************************************************************
 
4
 
 
5
1. Bitmap fonts (.pcf, .bdf)
 
6
        ������� �������� � ���� ��������
 
7
                Load "bitmap"
 
8
 
 
9
2. Scalable fonts
 
10
        ������� �������� ������������ ��������������� �������������
 
11
        a. Type1(.pfa,.pfb)
 
12
                Load "type1"
 
13
        b. Speedo (.spd)
 
14
                Load "speedo"
 
15
        c. TrueType fonts (.ttf, .ttc)
 
16
                Load "freetype" ��� Load "xtt" (�������������� �������� 
 
17
                                                ���������)
 
18
 
 
19
        �������� ����� fonts.dir:
 
20
                � ������� "type1inst" - ��� Type1, � "ttmkfdir" - ��� TTF
 
21
                ��������� ���� - fonts.scale, ����� ����� � �������
 
22
                mkfontdir ��������� fonts.dir. ��� �� � ���������� ������
 
23
                ��������� ���� encodings.dir
 
24
        
 
25
3.
 
26
        ��� ��� ����� ����� ��������� ������ ���������, � ���������� ��� 
 
27
        ������ ����� ������ ����� XLFD(-*-...) ���� ������ �� ���� ��.
 
28
                        
 
29
        ��� mapping ���������� ��������� ��������� �����, ����� ����
 
30
                a. Unicode
 
31
                b. Postscript ( Adobe names )
 
32
                c. ISO8859-1
 
33
                d. TrueType cmaps (������������ ������ ����������, �� ���� 
 
34
                ��������� ����� ������� � ����, ��� ����������� ����������
 
35
                ��������� �� Unicode ����� � ��� ������������� ����������
 
36
                ������������ �� ������)
 
37
 
 
38
        ��� encoding ����������, �� ��� ��������������, �.�. ��������� 
 
39
        ��������� �� ������. ������ ���� ��������. ������ ������, ���������
 
40
        ��������� (��� ����������) ������� ���� ��������.
 
41
 
 
42
        Unicode = iso10646-1
 
43
        adobe-fontspecific - ���������� ��������� ����� (Type1)
 
44
        microsoft-fontspecific  - ���������� ��������� ����� (TTF)
 
45
        ������������ ������ ��� ����������� ������(symbol) ��� ��� ������ �
 
46
        ������������� mapping��.
 
47
 
 
48
        ��������� ��������� (xterm) �� ���� ��������� �� ������������
 
49
        ���� encoding�� � �������� ������ � ������ adobe-fontspecific ���
 
50
        ��������� iso8859-1 ��������� �� ����������������� ����!
 
51
 
 
52
4.      QT ��������� ��������� ������������ ���������, ������ ��� ������������ 
 
53
        ��������������� ������(LANG), ����� ������������ ����������.
 
54
 
 
55
5.      OpenOffice �� ����������� � ����������������� (KOI8-R -> ISO8859-1) 
 
56
        �������
 
57
 
 
58
6.      xlsfonts - ������ ����������� ������
 
59
        xfontsel - �������� ����
 
60
 
 
61
7.      ��� ����� ������� ���� ������������ ��� ������ xmodmap(������) � xkb.
 
62
        � ���� ������ xmodmap ��������� ������ �������� 256 ���������� �������,
 
63
        xkb ���������� 2�-�������� ���� ��������(�� unicode), 1�� ���� �� 
 
64
        ������� ��������� ���������, � ������ ��� ������� � ���... 
 
65
        �������������� ��� ����, ��� �� ��������� �������� xkb � ��� ������
 
66
        ���� ����������� ���������: ����������� � ������ ��������� ������ 
 
67
        ������ �����:
 
68
                        setlocale(LC_TYPE,"");          XLib
 
69
                        XtSetLanguageProc(0,0,0);       Xt
 
70
                        gtk_set_locale(...);            gtk
 
71
        ����� ���� ��������� LC_TYPE ������ ��������������� ����� �� �������
 
72
        ����� ���� ����... (testXlc for test)
 
73
                        ru_RU.KOI8-R ��� KOI8
 
74
                        ru_RU.CP1251 ��� CP1251
 
75
                        en_US        ��� ����� ����� xmodmap
 
76
        
 
77
        a. ����� ����, XFree86 ����� ������� � (#define X_LOCALE) ����� X11 
 
78
        ���������, ������ ������ ������ ��������� ������, ������������ X 
 
79
        ��������:
 
80
                        #define X_LOCALE
 
81
                        #include <X11/locale.h>
 
82
        
 
83
        b. C xmodmap �������� ��������, ��� ������ � ����������� ����� ��������
 
84
        ��� ������� ��������, �� �� ���... (mozilla)
 
85
 
 
86
        c. ������������ ������������ xmodmap � xkb �� ���������, ��� ��� ���
 
87
        ���������� ������ ������ ���� �����...
 
88
        
 
89
        d. ��� xkb ���� ��������� "ru-hacked" ������� ��������� ���������
 
90
        ��������� xmodmap, ����� ���� ���� ��������� "ru-combined", �������
 
91
        �������� ��� ������� �������: 1) ����������, 2) ����������� xmodmap
 
92
 
 
93
        ����� ��� ������������� xkb � ���������� ����������:
 
94
                ����� ��������� �������� ��� ������������� ������� ������
 
95
                ������ ��������� �� ��������
 
96
        ������������� xkb � ����������� ���������� ��� xmodmap:
 
97
                ��������� ����� ��������� �� ��������
 
98
                ����� ��������� �������� ��� ������������� ���������� ������
 
99
                ������ ��������� �������� ��� ����� ������
 
100
 
 
101
        a. xterm(Run from WM) ��� ����� ������ ���������� ��������� ������
 
102
        �������� ��� ������ XServera
 
103
 
 
104
8.      ������������� ��������� ������:
 
105
                arial <-> helvetica,
 
106