summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-11-16 18:47:25 +0100
committerJuanma Barranquero <lekktu@gmail.com>2011-11-16 18:47:25 +0100
commit7877f37394a0bea045c8d0faf7db7a7e1b4ccdc1 (patch)
tree334fa246f6537c6fbdb73be78c873416b2b9bf44 /src
parent10649b828d6b2c7bfc41dde3386c980bcd48c0b3 (diff)
downloademacs-7877f37394a0bea045c8d0faf7db7a7e1b4ccdc1.tar.gz
Fix typos.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/ChangeLog.112
-rw-r--r--src/nsfns.m2
-rw-r--r--src/nsterm.h2
-rw-r--r--src/w32font.c6
-rw-r--r--src/w32font.h5
-rw-r--r--src/w32uniscribe.c3
7 files changed, 11 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0a3758d6bfd..bc82064afb7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
2011-11-16 Juanma Barranquero <lekktu@gmail.com>
- * window.c (syms_of_window) <window-combination-limit>: Fix typo.
+ * nsfns.m (Fns_font_name):
+ * window.c (syms_of_window) <window-combination-limit>: Fix typos.
2011-11-16 Martin Rudalics <rudalics@gmx.at>
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11
index 4e894cb3644..73ac5fd4e00 100644
--- a/src/ChangeLog.11
+++ b/src/ChangeLog.11
@@ -23551,7 +23551,7 @@
STORE_XCHARB a valid l-value.
* w32term.c (w32_native_per_char_metric): Swap width and rbearing
- calculations for non-Truetype fonts.
+ calculations for non-TrueType fonts.
(x_draw_glyph_string): Sync with xterm.c.
(x_draw_glyph_string_foreground) [USE_FONT_BACKEND]:
Remove redundant code.
diff --git a/src/nsfns.m b/src/nsfns.m
index bcf14fe6105..280fee0b27b 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1846,7 +1846,7 @@ DEFUN ("ns-emacs-info-panel", Fns_emacs_info_panel, Sns_emacs_info_panel,
DEFUN ("ns-font-name", Fns_font_name, Sns_font_name, 1, 1, 0,
- doc: /* Determine font postscript or family name for font NAME.
+ doc: /* Determine font PostScript or family name for font NAME.
NAME should be a string containing either the font name or an XLFD
font descriptor. If string contains `fontset' and not
`fontset-startup', it is left alone. */)
diff --git a/src/nsterm.h b/src/nsterm.h
index b54e182780a..574d31c962a 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -447,7 +447,7 @@ struct nsfont_info
{
struct font font;
- char *name; /* postscript name, uniquely identifies on NS systems */
+ char *name; /* PostScript name, uniquely identifies on NS systems */
float width; /* this and following metrics stored as float rather than int */
float height;
float underpos;
diff --git a/src/w32font.c b/src/w32font.c
index 2088af2fbe7..ac1d678edee 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -1284,8 +1284,8 @@ font_matches_spec (DWORD type, NEWTEXTMETRICEX *font,
{
/* Only truetype fonts will have information about what
scripts they support. This probably means the user
- will have to force Emacs to use raster, postscript
- or atm fonts for non-ASCII text. */
+ will have to force Emacs to use raster, PostScript
+ or ATM fonts for non-ASCII text. */
if (type & TRUETYPE_FONTTYPE)
{
Lisp_Object support
@@ -1464,7 +1464,7 @@ check_face_name (LOGFONT *font, char *full_name)
/* Helvetica is mapped to Arial in Windows, but if a Type-1 Helvetica is
installed, we run into problems with the Uniscribe backend which tries
to avoid non-truetype fonts, and ends up mixing the Type-1 Helvetica
- with Arial's characteristics, since that attempt to use Truetype works
+ with Arial's characteristics, since that attempt to use TrueType works
some places, but not others. */
if (!xstrcasecmp (font->lfFaceName, "helvetica"))
{
diff --git a/src/w32font.h b/src/w32font.h
index 45c06897195..f77866b869f 100644
--- a/src/w32font.h
+++ b/src/w32font.h
@@ -20,8 +20,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define EMACS_W32FONT_H
-/* Bit 17 of ntmFlags in NEWTEXTMETRIC is set for Postscript OpenType fonts,
- bit 18 for Truetype OpenType fonts, bit 20 for Type1 fonts. */
+/* Bit 17 of ntmFlags in NEWTEXTMETRIC is set for PostScript OpenType fonts,
+ bit 18 for TrueType OpenType fonts, bit 20 for Type1 fonts. */
#ifndef NTM_PS_OPENTYPE
#define NTM_PS_OPENTYPE 0x00020000
#endif
@@ -84,4 +84,3 @@ int uniscribe_check_otf (LOGFONT *font, Lisp_Object otf_spec);
Lisp_Object intern_font_name (char *);
#endif
-
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index f6347bb88f7..36197b3b28a 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -507,7 +507,7 @@ uniscribe_encode_char (struct font *font, int c)
if (SUCCEEDED (result) && nglyphs == 1)
{
/* Some fonts return .notdef glyphs instead of failing.
- (Truetype spec reserves glyph code 0 for .notdef) */
+ (TrueType spec reserves glyph code 0 for .notdef) */
if (glyphs[0])
code = glyphs[0];
}
@@ -961,4 +961,3 @@ syms_of_w32uniscribe (void)
register_font_driver (&uniscribe_font_driver, NULL);
}
-