//
// TTFont.cc
//
-// Copyright 2001-2002 Glyph & Cog, LLC
+// Copyright 2001-2003 Glyph & Cog, LLC
//
//========================================================================
-#ifdef __GNUC__
-#pragma implementation
-#endif
-
#include <aconf.h>
#if !FREETYPE2 && (HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H)
+#ifdef USE_GCC_PRAGMAS
+#pragma implementation
+#endif
+
#include <string.h>
#include "gmem.h"
#include "GlobalParams.h"
unicodeCmap = macRomanCmap = msSymbolCmap = 0xffff;
for (i = 0; i < props.num_CharMaps; ++i) {
if (!TT_Get_CharMap_ID(face, i, &platform, &encoding)) {
- if (platform == 3 && encoding == 1) {
+ if ((platform == 3 && encoding == 1) || platform == 0) {
unicodeCmap = i;
} else if (platform == 1 && encoding == 0) {
macRomanCmap = i;