[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/font.c,v
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/src/font.c,v |
Date: |
Tue, 20 May 2008 16:00:56 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Juanma Barranquero <lektu> 08/05/20 16:00:55
Index: font.c
===================================================================
RCS file: /sources/emacs/emacs/src/font.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- font.c 20 May 2008 06:33:10 -0000 1.21
+++ font.c 20 May 2008 16:00:55 -0000 1.22
@@ -3326,7 +3326,7 @@
doc: /* Return t if OBJECT is a font-spec, font-entity, or font-object.
Return nil otherwise.
Optional 2nd argument EXTRA-TYPE, if non-nil, specifies to check
-which kind of font it is. It must be one of `font-spec', `font-entity'
+which kind of font it is. It must be one of `font-spec', `font-entity',
`font-object'. */)
(object, extra_type)
Lisp_Object object, extra_type;
@@ -3513,7 +3513,7 @@
Optional 3rd argument NUM, if non-nil, limits the number of returned fonts.
Optional 4th argument PREFER, if non-nil, is a font-spec to
control the order of the returned list. Fonts are sorted by
-how they are close to PREFER. */)
+how close they are to PREFER. */)
(font_spec, frame, num, prefer)
Lisp_Object font_spec, frame, num, prefer;
{
@@ -3559,7 +3559,7 @@
DEFUN ("font-family-list", Ffont_family_list, Sfont_family_list, 0, 1, 0,
doc: /* List available font families on the current frame.
-Optional argument FRAME specifies the target frame. */)
+Optional argument FRAME, if non-nil, specifies the target frame. */)
(frame)
Lisp_Object frame;
{
@@ -3718,7 +3718,7 @@
return Qnil;
}
-/* The following three functions are still expremental. */
+/* The following three functions are still experimental. */
DEFUN ("font-make-gstring", Ffont_make_gstring, Sfont_make_gstring, 2, 2, 0,
doc: /* Return a newly created g-string for FONT-OBJECT with NUM glyphs.
@@ -3731,7 +3731,7 @@
[FONT-OBJECT WIDTH LBEARING RBEARING ASCENT DESCENT]
where
FONT-OBJECT is a font-object for all glyphs in the g-string,
- WIDTH thry DESCENT are the metrics (in pixels) of the whole G-string.
+ WIDTH thru DESCENT are the metrics (in pixels) of the whole G-string.
GLYPH is a vector of this form:
[ FROM-IDX TO-IDX C CODE WIDTH LBEARING RBEARING ASCENT DESCENT
[ [X-OFF Y-OFF WADJUST] | nil] ]
@@ -3739,7 +3739,7 @@
FROM-IDX and TO-IDX are used internally and should not be touched.
C is the character of the glyph.
CODE is the glyph-code of C in FONT-OBJECT.
- WIDTH thry DESCENT are the metrics (in pixels) of the glyph.
+ WIDTH thru DESCENT are the metrics (in pixels) of the glyph.
X-OFF and Y-OFF are offests to the base position for the glyph.
WADJUST is the adjustment to the normal width of the glyph. */)
(font_object, num)
@@ -3768,7 +3768,7 @@
START and END specify the region to extract characters.
If optional 5rd argument OBJECT is non-nil, it is a buffer or a string from
where to extract characters.
-FONT-OBJECT may be nil if GSTRING already already contains one. */)
+FONT-OBJECT may be nil if GSTRING already contains one. */)
(gstring, font_object, start, end, object)
Lisp_Object gstring, font_object, start, end, object;
{
@@ -4063,7 +4063,7 @@
OTF-FEATURES specifies which features of the font FONT-OBJECT to apply
in this format:
(SCRIPT LANGSYS FEATURE ...)
-See the documentation of `font-otf-gsub' for more detail.
+See the documentation of `font-drive-otf' for more detail.
The value is a list of cons cells of the format (GLYPH-ID . CHARACTER),
where GLYPH-ID is a glyph index of the font, and CHARACTER is a
@@ -4165,14 +4165,14 @@
PIXEL-SIZE is a pixel size by which the font is opened.
-SIZE is a maximum advance width of the font in pixel.
+SIZE is a maximum advance width of the font in pixels.
ASCENT, DESCENT, SPACE-WIDTH, AVERAGE-WIDTH are metrics of the font in
-pixel.
+pixels.
CAPABILITY is a list whose first element is a symbol representing the
font format \(x, opentype, truetype, type1, pcf, or bdf) and the
-remaining elements describes a detail of the font capability.
+remaining elements describe the details of the font capability.
If the font is OpenType font, the form of the list is
\(opentype GSUB GPOS)
@@ -4453,7 +4453,7 @@
where ENCODING is a charset or a char-table,
and REPERTORY is a charset, a char-table, or nil.
-If ENCDING and REPERTORY are the same, the element can have the form
+If ENCODING and REPERTORY are the same, the element can have the form
\(REGEXP . ENCODING).
ENCODING is for converting a character to a glyph code of the font.
@@ -4464,7 +4464,7 @@
REPERTORY specifies a repertory of characters supported by the font.
If REPERTORY is a charset, all characters beloging to the charset are
supported. If REPERTORY is a char-table, all characters who have a
-non-nil value in the table are supported. It REPERTORY is nil, Emacs
+non-nil value in the table are supported. If REPERTORY is nil, Emacs
gets the repertory information by an opened font and ENCODING. */);
Vfont_encoding_alist = Qnil;
- [Emacs-diffs] Changes to emacs/src/font.c,v, Juanma Barranquero, 2008/05/08
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/13
- [Emacs-diffs] Changes to emacs/src/font.c,v, Glenn Morris, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/15
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/19
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/20
- [Emacs-diffs] Changes to emacs/src/font.c,v,
Juanma Barranquero <=
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/21
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/21
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/font.c,v, Jason Rumney, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/font.c,v, Jason Rumney, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/font.c,v, Jason Rumney, 2008/05/22
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/25
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/28
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/29
- [Emacs-diffs] Changes to emacs/src/font.c,v, Kenichi Handa, 2008/05/30