summaryrefslogtreecommitdiff
path: root/gs/base/gxttfb.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-19 23:49:56 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-19 23:49:56 +0200
commit781969994b5381ba4bed03beef217f9bde6e7c58 (patch)
treeaede27c7532f0fbe82f03dc0c04c9316be510fd5 /gs/base/gxttfb.h
parent0b17959f31afe3baffbc328e7f92e88e634ad8b8 (diff)
Indent with spaces and strip trailing whitespace.
Diffstat (limited to 'gs/base/gxttfb.h')
-rw-r--r--gs/base/gxttfb.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/gs/base/gxttfb.h b/gs/base/gxttfb.h
index 5e3e93323..dae5f2024 100644
--- a/gs/base/gxttfb.h
+++ b/gs/base/gxttfb.h
@@ -1,6 +1,6 @@
/* Copyright (C) 2001-2006 Artifex Software, Inc.
All Rights Reserved.
-
+
This software is provided AS-IS with no warranty, either express or
implied.
@@ -38,13 +38,13 @@ struct gx_ttfReader_s {
gs_memory_t *memory;
gs_glyph_data_t glyph_data;
/* When TT interpreter is invoked, a font and the TT interpreter instance
- may use different memory allocators (local and global correspondingly).
- Since we don't want to change Free Type function prototypes,
- we place the gx_ttfReader instance into the global memory,
- to provide an access to it through TExecution_Context.
- Due to that, the fields 'pfont' and 'glyph_data' may contain pointers from global
- to local memory. They must be NULL when a garbager is invoked.
- We reset them whan the TT interpreter exits.
+ may use different memory allocators (local and global correspondingly).
+ Since we don't want to change Free Type function prototypes,
+ we place the gx_ttfReader instance into the global memory,
+ to provide an access to it through TExecution_Context.
+ Due to that, the fields 'pfont' and 'glyph_data' may contain pointers from global
+ to local memory. They must be NULL when a garbager is invoked.
+ We reset them whan the TT interpreter exits.
*/
};
@@ -54,10 +54,10 @@ void gx_ttfReader__set_font(gx_ttfReader *this, gs_font_type42 *pfont);
ttfFont *ttfFont__create(gs_font_dir *dir);
void ttfFont__destroy(ttfFont *this, gs_font_dir *dir);
int ttfFont__Open_aux(ttfFont *this, ttfInterpreter *tti, gx_ttfReader *r, gs_font_type42 *pfont,
- const gs_matrix * char_tm, const gs_log2_scale_point *log2_scale,
- bool design_grid);
-int gx_ttf_outline(ttfFont *ttf, gx_ttfReader *r, gs_font_type42 *pfont, int glyph_index,
- const gs_matrix *m, const gs_log2_scale_point * pscale,
- gx_path *path, bool grid_fit);
+ const gs_matrix * char_tm, const gs_log2_scale_point *log2_scale,
+ bool design_grid);
+int gx_ttf_outline(ttfFont *ttf, gx_ttfReader *r, gs_font_type42 *pfont, int glyph_index,
+ const gs_matrix *m, const gs_log2_scale_point * pscale,
+ gx_path *path, bool grid_fit);
#endif /* gxttfb_INCLUDED */