diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-04-04 07:02:37 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-04-04 07:02:37 +0000 |
commit | 67fb15d26b670c7b279adb75bf827ba8d90dcc8f (patch) | |
tree | cd0bdbfb5679b67cc2823fb6af2e7a4ec1adfedb /psprint/source | |
parent | 992f9b447e8579c0a2ddba9e857c7606bbd77efe (diff) |
INTEGRATION: CWS glyphadv (1.39.40); FILE MERGED
2007/02/28 13:59:09 pl 1.39.40.1: #i74609# get glyphwidths for a whole font
Diffstat (limited to 'psprint/source')
-rw-r--r-- | psprint/source/fontsubset/sft.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/psprint/source/fontsubset/sft.c b/psprint/source/fontsubset/sft.c index 7cb8a9575961..040ccc0c78e4 100644 --- a/psprint/source/fontsubset/sft.c +++ b/psprint/source/fontsubset/sft.c @@ -4,9 +4,9 @@ * * $RCSfile: sft.c,v $ * - * $Revision: 1.41 $ + * $Revision: 1.42 $ * - * last change: $Author: rt $ $Date: 2007-03-28 07:17:20 $ + * last change: $Author: rt $ $Date: 2007-04-04 08:02:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2569,6 +2569,11 @@ int DoesVerticalSubstitution( TrueTypeFont *ttf, int bvertical) #endif +int GetTTGlyphCount( TrueTypeFont* ttf ) +{ + return ttf->nglyphs; +} + TTSimpleGlyphMetrics *GetTTSimpleGlyphMetrics(TrueTypeFont *ttf, sal_uInt16 *glyphArray, int nGlyphs, int mode) { sal_uInt8* pTable; |