diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-06-08 15:32:30 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-06-08 15:32:30 +0000 |
commit | 0d3fedbe2411f63340d90cb4854f4153169b9d8c (patch) | |
tree | 28f4e464c2dde0d7ef8b6790173c5d7c6123c9a5 /psprint/source/fontsubset | |
parent | 8034cd4e020521e849973bb209b92fa1e136371d (diff) |
#87985# honor copyright flags for TrueType fonts
Diffstat (limited to 'psprint/source/fontsubset')
-rw-r--r-- | psprint/source/fontsubset/sft.c | 7 | ||||
-rw-r--r-- | psprint/source/fontsubset/sft.h | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/psprint/source/fontsubset/sft.c b/psprint/source/fontsubset/sft.c index 2a930cd14c97..763826af513f 100644 --- a/psprint/source/fontsubset/sft.c +++ b/psprint/source/fontsubset/sft.c @@ -2,9 +2,9 @@ * * $RCSfile: sft.c,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: cp $ $Date: 2001-06-08 11:13:19 $ + * last change: $Author: pl $ $Date: 2001-06-08 16:32:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,7 +59,7 @@ * ************************************************************************/ -/* $Id: sft.c,v 1.3 2001-06-08 11:13:19 cp Exp $ +/* $Id: sft.c,v 1.4 2001-06-08 16:32:30 pl Exp $ * Sun Font Tools * * Author: Alexander Gelfenbain @@ -2463,6 +2463,7 @@ void GetTTGlobalFontInfo(TrueTypeFont *ttf, TTGlobalFontInfo *info) info->ur4 = GetUInt32(table, 54, 1); } memcpy(info->panose, table + 32, 10); + info->typeFlags = GetUInt16( table, 8, 1 ); } diff --git a/psprint/source/fontsubset/sft.h b/psprint/source/fontsubset/sft.h index 801ef490ce31..6d53c68e441d 100644 --- a/psprint/source/fontsubset/sft.h +++ b/psprint/source/fontsubset/sft.h @@ -2,9 +2,9 @@ * * $RCSfile: sft.h,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: pl $ $Date: 2001-05-28 09:58:53 $ + * last change: $Author: pl $ $Date: 2001-06-08 16:32:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,7 +59,7 @@ * ************************************************************************/ -/* $Id: sft.h,v 1.2 2001-05-28 09:58:53 pl Exp $ */ +/* $Id: sft.h,v 1.3 2001-06-08 16:32:30 pl Exp $ */ /** * @@ -320,6 +320,7 @@ extern "C" { uint32 ur3; /**< bits 64 - 95 of Unicode Range flags */ uint32 ur4; /**< bits 96 - 127 of Unicode Range flags */ byte panose[10]; /**< PANOSE classification number */ + uint16 typeFlags; } TTGlobalFontInfo; /** Structure used by KernGlyphs() */ |