~ubuntu-branches/ubuntu/intrepid/fontconfig/intrepid

« back to all changes in this revision

Viewing changes to doc/fontconfig-devel/r2873.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-05 14:16:40 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071205141640-xikzw02c8gpgndze
Tags: 2.5.0-2ubuntu1
* Merge with Debian; remaining changes:
  - conf.d/40-nonlatin.conf: Add `MgOpen Moderna' to the list of fonts
    for which we might fall back to sans-serif.
  - conf.d/60-latin.conf: Prefer DejaVu over Bitstream Vera,
    as done for dapper.
  - 52-languageselector.conf loads language-selector.conf.
  - Include 52-languageselector.conf in the lists in conf.d/Makefile.am so
    that it actually gets installed and used.  Fixes LP 73714.
  - Some hackery in the debconf config script which attempts to upgrade
    user preferences across the many changes which have occurred to the
    debconf questions.  In particular:
    + Do not attempt to divine enable_bitmaps option by reading the
      symlinks in /etc.  This leaves the only way to permanently change
      the behaviour being dpkg-reconfigure.  The divination code was
      wrong and was intended by Debian to preserve pre-debconf
      configuration.  It would be nicer to preserve handmade updates to
      the /etc directory.
    + Always create /etc/fontconfig/conf.d/ symlink for enabling or
      disabling bitmap fonts.  This records the state from debconf
      unambiguously into the filesystem and will make it possible for
      future upgrades (from Edgy or later) to preserve handmade changes.
  - Add a (optional) include for "language-selector.conf" in fonts.conf
  - debian/patches/03_preferred_symbol_font.patch:
    + prefer "Standard Symbols L" as symbol font (Ubuntu: #37745)
  - Fix incorrect location of /usr/share/X11/fonts.
  - Correctly fix the (eg) firefox vs. (eg) evince font metrics problem:
    + New FC_ANY_METRICS property, boolean.
    + Change URW Nimbus and AMT font aliases in 30-{urw,metric}-aliases.conf
      into equivalent <match> directives so that we can add an additional
      test which disables them when the anymetrics property is true.
* Link using -Bsymbolic-functions.
* debian/rules (clean): Clean doc directory.
* debian/rules: Set shell to /bin/bash.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>FcFontSort</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 
9
REL="HOME"
 
10
HREF="index.html"><LINK
 
11
REL="UP"
 
12
TITLE="FcConfig"
 
13
HREF="x102.html#AEN2346"><LINK
 
14
REL="PREVIOUS"
 
15
TITLE="FcFontMatch"
 
16
HREF="r2842.html"><LINK
 
17
REL="NEXT"
 
18
TITLE="FcFontRenderPrepare"
 
19
HREF="r2911.html"></HEAD
 
20
><BODY
 
21
CLASS="REFENTRY"
 
22
BGCOLOR="#FFFFFF"
 
23
TEXT="#000000"
 
24
LINK="#0000FF"
 
25
VLINK="#840084"
 
26
ALINK="#0000FF"
 
27
><DIV
 
28
CLASS="NAVHEADER"
 
29
><TABLE
 
30
SUMMARY="Header navigation table"
 
31
WIDTH="100%"
 
32
BORDER="0"
 
33
CELLPADDING="0"
 
34
CELLSPACING="0"
 
35
><TR
 
36
><TH
 
37
COLSPAN="3"
 
38
ALIGN="center"
 
39
></TH
 
40
></TR
 
41
><TR
 
42
><TD
 
43
WIDTH="10%"
 
44
ALIGN="left"
 
45
VALIGN="bottom"
 
46
><A
 
47
HREF="r2842.html"
 
48
ACCESSKEY="P"
 
49
>Prev</A
 
50
></TD
 
51
><TD
 
52
WIDTH="80%"
 
53
ALIGN="center"
 
54
VALIGN="bottom"
 
55
></TD
 
56
><TD
 
57
WIDTH="10%"
 
58
ALIGN="right"
 
59
VALIGN="bottom"
 
60
><A
 
61
HREF="r2911.html"
 
62
ACCESSKEY="N"
 
63
>Next</A
 
64
></TD
 
65
></TR
 
66
></TABLE
 
67
><HR
 
68
ALIGN="LEFT"
 
69
WIDTH="100%"></DIV
 
70
><H1
 
71
><A
 
72
NAME="FCFONTSORT"
 
73
></A
 
74
>FcFontSort</H1
 
75
><DIV
 
76
CLASS="REFNAMEDIV"
 
77
><A
 
78
NAME="AEN2877"
 
79
></A
 
80
><H2
 
81
>Name</H2
 
82
>FcFontSort&nbsp;--&nbsp;Return list of matching fonts</DIV
 
83
><DIV
 
84
CLASS="REFSYNOPSISDIV"
 
85
><A
 
86
NAME="AEN2880"
 
87
></A
 
88
><H2
 
89
>Synopsis</H2
 
90
><DIV
 
91
CLASS="FUNCSYNOPSIS"
 
92
><P
 
93
></P
 
94
><A
 
95
NAME="AEN2881"
 
96
></A
 
97
><PRE
 
98
CLASS="FUNCSYNOPSISINFO"
 
99
>#include &lt;fontconfig.h&gt;
 
100
        </PRE
 
101
><P
 
102
><CODE
 
103
><CODE
 
104
CLASS="FUNCDEF"
 
105
>FcFontSet * FcFontSort</CODE
 
106
>(FcConfig *config, FcPattern *p, FcBool trim, FcCharSet **csp, FcResult *result);</CODE
 
107
></P
 
108
><P
 
109
></P
 
110
></DIV
 
111
></DIV
 
112
><DIV
 
113
CLASS="REFSECT1"
 
114
><A
 
115
NAME="AEN2896"
 
116
></A
 
117
><H2
 
118
>Description</H2
 
119
><P
 
120
>Returns the list of fonts sorted by closeness to <CODE
 
121
CLASS="PARAMETER"
 
122
>p</CODE
 
123
>.  If <CODE
 
124
CLASS="PARAMETER"
 
125
>trim</CODE
 
126
> is FcTrue,
 
127
elements in the list which don't include Unicode coverage not provided by
 
128
earlier elements in the list are elided.  The union of Unicode coverage of
 
129
all of the fonts is returned in <CODE
 
130
CLASS="PARAMETER"
 
131
>csp</CODE
 
132
>, if <CODE
 
133
CLASS="PARAMETER"
 
134
>csp</CODE
 
135
> is not NULL.  This function
 
136
should be called only after FcConfigSubstitute and FcDefaultSubstitute have
 
137
been called for <CODE
 
138
CLASS="PARAMETER"
 
139
>p</CODE
 
140
>; otherwise the results will not be correct.
 
141
    </P
 
142
><P
 
143
>The returned FcFontSet references FcPattern structures which may be shared
 
144
by the return value from multiple FcFontSort calls, applications must not
 
145
modify these patterns.  Instead, they should be passed, along with <CODE
 
146
CLASS="PARAMETER"
 
147
>p</CODE
 
148
> to
 
149
<CODE
 
150
CLASS="FUNCTION"
 
151
>FcFontRenderPrepare</CODE
 
152
> which combines them into a complete pattern.
 
153
    </P
 
154
><P
 
155
>The FcFontSet returned by FcFontSort is destroyed by caling FcFontSetDestroy.
 
156
            </P
 
157
></DIV
 
158
><DIV
 
159
CLASS="REFSECT1"
 
160
><A
 
161
NAME="AEN2908"
 
162
></A
 
163
><H2
 
164
>Version</H2
 
165
><P
 
166
>Fontconfig version 2.5.0
 
167
 
 
168
            </P
 
169
></DIV
 
170
><DIV
 
171
CLASS="NAVFOOTER"
 
172
><HR
 
173
ALIGN="LEFT"
 
174
WIDTH="100%"><TABLE
 
175
SUMMARY="Footer navigation table"
 
176
WIDTH="100%"
 
177
BORDER="0"
 
178
CELLPADDING="0"
 
179
CELLSPACING="0"
 
180
><TR
 
181
><TD
 
182
WIDTH="33%"
 
183
ALIGN="left"
 
184
VALIGN="top"
 
185
><A
 
186
HREF="r2842.html"
 
187
ACCESSKEY="P"
 
188
>Prev</A
 
189
></TD
 
190
><TD
 
191
WIDTH="34%"
 
192
ALIGN="center"
 
193
VALIGN="top"
 
194
><A
 
195
HREF="index.html"
 
196
ACCESSKEY="H"
 
197
>Home</A
 
198
></TD
 
199
><TD
 
200
WIDTH="33%"
 
201
ALIGN="right"
 
202
VALIGN="top"
 
203
><A
 
204
HREF="r2911.html"
 
205
ACCESSKEY="N"
 
206
>Next</A
 
207
></TD
 
208
></TR
 
209
><TR
 
210
><TD
 
211
WIDTH="33%"
 
212
ALIGN="left"
 
213
VALIGN="top"
 
214
>FcFontMatch</TD
 
215
><TD
 
216
WIDTH="34%"
 
217
ALIGN="center"
 
218
VALIGN="top"
 
219
><A
 
220
HREF="x102.html#AEN2346"
 
221
ACCESSKEY="U"
 
222
>Up</A
 
223
></TD
 
224
><TD
 
225
WIDTH="33%"
 
226
ALIGN="right"
 
227
VALIGN="top"
 
228
>FcFontRenderPrepare</TD
 
229
></TR
 
230
></TABLE
 
231
></DIV
 
232
></BODY
 
233
></HTML
 
234
>
 
 
b'\\ No newline at end of file'