Commit d8f2c8b6 authored by Ian Pilcher's avatar Ian Pilcher Committed by Alexandre Julliard

Make built-in font data read-only.

parent f925f816
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_AvantGarde_Book[228] =
static const AFMMETRICS met_AvantGarde_Book[228] =
{
{
32, 0x0020, 277, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_AvantGarde_Book[228] =
* Font metrics
*/
AFM PSDRV_AvantGarde_Book =
const AFM PSDRV_AvantGarde_Book =
{
"AvantGarde-Book", /* FontName */
"ITC Avant Garde Gothic Book", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_AvantGarde_BookOblique[228] =
static const AFMMETRICS met_AvantGarde_BookOblique[228] =
{
{
32, 0x0020, 277, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_AvantGarde_BookOblique[228] =
* Font metrics
*/
AFM PSDRV_AvantGarde_BookOblique =
const AFM PSDRV_AvantGarde_BookOblique =
{
"AvantGarde-BookOblique", /* FontName */
"ITC Avant Garde Gothic Book Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_AvantGarde_Demi[228] =
static const AFMMETRICS met_AvantGarde_Demi[228] =
{
{
32, 0x0020, 280, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_AvantGarde_Demi[228] =
* Font metrics
*/
AFM PSDRV_AvantGarde_Demi =
const AFM PSDRV_AvantGarde_Demi =
{
"AvantGarde-Demi", /* FontName */
"ITC Avant Garde Gothic Demi", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_AvantGarde_DemiOblique[228] =
static const AFMMETRICS met_AvantGarde_DemiOblique[228] =
{
{
32, 0x0020, 280, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_AvantGarde_DemiOblique[228] =
* Font metrics
*/
AFM PSDRV_AvantGarde_DemiOblique =
const AFM PSDRV_AvantGarde_DemiOblique =
{
"AvantGarde-DemiOblique", /* FontName */
"ITC Avant Garde Gothic Demi Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Bookman_Demi[228] =
static const AFMMETRICS met_Bookman_Demi[228] =
{
{
32, 0x0020, 340, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Bookman_Demi[228] =
* Font metrics
*/
AFM PSDRV_Bookman_Demi =
const AFM PSDRV_Bookman_Demi =
{
"Bookman-Demi", /* FontName */
"ITC Bookman Demi", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Bookman_DemiItalic[228] =
static const AFMMETRICS met_Bookman_DemiItalic[228] =
{
{
32, 0x0020, 340, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Bookman_DemiItalic[228] =
* Font metrics
*/
AFM PSDRV_Bookman_DemiItalic =
const AFM PSDRV_Bookman_DemiItalic =
{
"Bookman-DemiItalic", /* FontName */
"ITC Bookman Demi Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Bookman_Light[228] =
static const AFMMETRICS met_Bookman_Light[228] =
{
{
32, 0x0020, 320, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Bookman_Light[228] =
* Font metrics
*/
AFM PSDRV_Bookman_Light =
const AFM PSDRV_Bookman_Light =
{
"Bookman-Light", /* FontName */
"ITC Bookman Light", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Bookman_LightItalic[228] =
static const AFMMETRICS met_Bookman_LightItalic[228] =
{
{
32, 0x0020, 300, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Bookman_LightItalic[228] =
* Font metrics
*/
AFM PSDRV_Bookman_LightItalic =
const AFM PSDRV_Bookman_LightItalic =
{
"Bookman-LightItalic", /* FontName */
"ITC Bookman Light Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Courier[243] =
static const AFMMETRICS met_Courier[243] =
{
{
32, 0x0020, 600, PSDRV_AGLGlyphNames + 1169,
......@@ -1004,7 +1004,7 @@ static AFMMETRICS met_Courier[243] =
* Font metrics
*/
AFM PSDRV_Courier =
const AFM PSDRV_Courier =
{
"Courier", /* FontName */
"Courier", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Courier_Bold[243] =
static const AFMMETRICS met_Courier_Bold[243] =
{
{
32, 0x0020, 600, PSDRV_AGLGlyphNames + 1169,
......@@ -1004,7 +1004,7 @@ static AFMMETRICS met_Courier_Bold[243] =
* Font metrics
*/
AFM PSDRV_Courier_Bold =
const AFM PSDRV_Courier_Bold =
{
"Courier-Bold", /* FontName */
"Courier Bold", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Courier_BoldOblique[243] =
static const AFMMETRICS met_Courier_BoldOblique[243] =
{
{
32, 0x0020, 600, PSDRV_AGLGlyphNames + 1169,
......@@ -1004,7 +1004,7 @@ static AFMMETRICS met_Courier_BoldOblique[243] =
* Font metrics
*/
AFM PSDRV_Courier_BoldOblique =
const AFM PSDRV_Courier_BoldOblique =
{
"Courier-BoldOblique", /* FontName */
"Courier Bold Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Courier_Oblique[243] =
static const AFMMETRICS met_Courier_Oblique[243] =
{
{
32, 0x0020, 600, PSDRV_AGLGlyphNames + 1169,
......@@ -1004,7 +1004,7 @@ static AFMMETRICS met_Courier_Oblique[243] =
* Font metrics
*/
AFM PSDRV_Courier_Oblique =
const AFM PSDRV_Courier_Oblique =
{
"Courier-Oblique", /* FontName */
"Courier Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica[228] =
static const AFMMETRICS met_Helvetica[228] =
{
{
32, 0x0020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica[228] =
* Font metrics
*/
AFM PSDRV_Helvetica =
const AFM PSDRV_Helvetica =
{
"Helvetica", /* FontName */
"Helvetica", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_Bold[228] =
static const AFMMETRICS met_Helvetica_Bold[228] =
{
{
32, 0x0020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_Bold[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_Bold =
const AFM PSDRV_Helvetica_Bold =
{
"Helvetica-Bold", /* FontName */
"Helvetica Bold", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_BoldOblique[228] =
static const AFMMETRICS met_Helvetica_BoldOblique[228] =
{
{
32, 0x0020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_BoldOblique[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_BoldOblique =
const AFM PSDRV_Helvetica_BoldOblique =
{
"Helvetica-BoldOblique", /* FontName */
"Helvetica Bold Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_Narrow[228] =
static const AFMMETRICS met_Helvetica_Narrow[228] =
{
{
32, 0x0020, 228, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_Narrow[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_Narrow =
const AFM PSDRV_Helvetica_Narrow =
{
"Helvetica-Narrow", /* FontName */
"Helvetica Narrow", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_Narrow_Bold[228] =
static const AFMMETRICS met_Helvetica_Narrow_Bold[228] =
{
{
32, 0x0020, 228, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_Narrow_Bold[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_Narrow_Bold =
const AFM PSDRV_Helvetica_Narrow_Bold =
{
"Helvetica-Narrow-Bold", /* FontName */
"Helvetica Narrow Bold", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_Narrow_BoldOblique[228] =
static const AFMMETRICS met_Helvetica_Narrow_BoldOblique[228] =
{
{
32, 0x0020, 228, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_Narrow_BoldOblique[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_Narrow_BoldOblique =
const AFM PSDRV_Helvetica_Narrow_BoldOblique =
{
"Helvetica-Narrow-BoldOblique", /* FontName */
"Helvetica Narrow Bold Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_Narrow_Oblique[228] =
static const AFMMETRICS met_Helvetica_Narrow_Oblique[228] =
{
{
32, 0x0020, 228, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_Narrow_Oblique[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_Narrow_Oblique =
const AFM PSDRV_Helvetica_Narrow_Oblique =
{
"Helvetica-Narrow-Oblique", /* FontName */
"Helvetica Narrow Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Helvetica_Oblique[228] =
static const AFMMETRICS met_Helvetica_Oblique[228] =
{
{
32, 0x0020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Helvetica_Oblique[228] =
* Font metrics
*/
AFM PSDRV_Helvetica_Oblique =
const AFM PSDRV_Helvetica_Oblique =
{
"Helvetica-Oblique", /* FontName */
"Helvetica Oblique", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_NewCenturySchlbk_Bold[228] =
static const AFMMETRICS met_NewCenturySchlbk_Bold[228] =
{
{
32, 0x0020, 287, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_NewCenturySchlbk_Bold[228] =
* Font metrics
*/
AFM PSDRV_NewCenturySchlbk_Bold =
const AFM PSDRV_NewCenturySchlbk_Bold =
{
"NewCenturySchlbk-Bold", /* FontName */
"New Century Schoolbook Bold", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_NewCenturySchlbk_BoldItalic[228] =
static const AFMMETRICS met_NewCenturySchlbk_BoldItalic[228] =
{
{
32, 0x0020, 287, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_NewCenturySchlbk_BoldItalic[228] =
* Font metrics
*/
AFM PSDRV_NewCenturySchlbk_BoldItalic =
const AFM PSDRV_NewCenturySchlbk_BoldItalic =
{
"NewCenturySchlbk-BoldItalic", /* FontName */
"New Century Schoolbook Bold Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_NewCenturySchlbk_Italic[228] =
static const AFMMETRICS met_NewCenturySchlbk_Italic[228] =
{
{
32, 0x0020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_NewCenturySchlbk_Italic[228] =
* Font metrics
*/
AFM PSDRV_NewCenturySchlbk_Italic =
const AFM PSDRV_NewCenturySchlbk_Italic =
{
"NewCenturySchlbk-Italic", /* FontName */
"New Century Schoolbook Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_NewCenturySchlbk_Roman[228] =
static const AFMMETRICS met_NewCenturySchlbk_Roman[228] =
{
{
32, 0x0020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_NewCenturySchlbk_Roman[228] =
* Font metrics
*/
AFM PSDRV_NewCenturySchlbk_Roman =
const AFM PSDRV_NewCenturySchlbk_Roman =
{
"NewCenturySchlbk-Roman", /* FontName */
"New Century Schoolbook Roman", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Palatino_Bold[228] =
static const AFMMETRICS met_Palatino_Bold[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Palatino_Bold[228] =
* Font metrics
*/
AFM PSDRV_Palatino_Bold =
const AFM PSDRV_Palatino_Bold =
{
"Palatino-Bold", /* FontName */
"Palatino Bold", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Palatino_BoldItalic[228] =
static const AFMMETRICS met_Palatino_BoldItalic[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Palatino_BoldItalic[228] =
* Font metrics
*/
AFM PSDRV_Palatino_BoldItalic =
const AFM PSDRV_Palatino_BoldItalic =
{
"Palatino-BoldItalic", /* FontName */
"Palatino Bold Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Palatino_Italic[228] =
static const AFMMETRICS met_Palatino_Italic[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Palatino_Italic[228] =
* Font metrics
*/
AFM PSDRV_Palatino_Italic =
const AFM PSDRV_Palatino_Italic =
{
"Palatino-Italic", /* FontName */
"Palatino Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Palatino_Roman[228] =
static const AFMMETRICS met_Palatino_Roman[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Palatino_Roman[228] =
* Font metrics
*/
AFM PSDRV_Palatino_Roman =
const AFM PSDRV_Palatino_Roman =
{
"Palatino-Roman", /* FontName */
"Palatino Roman", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Symbol[188] =
static const AFMMETRICS met_Symbol[188] =
{
{
32, 0xf020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -784,7 +784,7 @@ static AFMMETRICS met_Symbol[188] =
* Font metrics
*/
AFM PSDRV_Symbol =
const AFM PSDRV_Symbol =
{
"Symbol", /* FontName */
"Symbol", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Times_Bold[228] =
static const AFMMETRICS met_Times_Bold[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Times_Bold[228] =
* Font metrics
*/
AFM PSDRV_Times_Bold =
const AFM PSDRV_Times_Bold =
{
"Times-Bold", /* FontName */
"Times Bold", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Times_BoldItalic[228] =
static const AFMMETRICS met_Times_BoldItalic[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Times_BoldItalic[228] =
* Font metrics
*/
AFM PSDRV_Times_BoldItalic =
const AFM PSDRV_Times_BoldItalic =
{
"Times-BoldItalic", /* FontName */
"Times Bold Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Times_Italic[228] =
static const AFMMETRICS met_Times_Italic[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Times_Italic[228] =
* Font metrics
*/
AFM PSDRV_Times_Italic =
const AFM PSDRV_Times_Italic =
{
"Times-Italic", /* FontName */
"Times Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_Times_Roman[228] =
static const AFMMETRICS met_Times_Roman[228] =
{
{
32, 0x0020, 250, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_Times_Roman[228] =
* Font metrics
*/
AFM PSDRV_Times_Roman =
const AFM PSDRV_Times_Roman =
{
"Times-Roman", /* FontName */
"Times Roman", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_ZapfChancery_MediumItalic[228] =
static const AFMMETRICS met_ZapfChancery_MediumItalic[228] =
{
{
32, 0x0020, 220, PSDRV_AGLGlyphNames + 1169,
......@@ -944,7 +944,7 @@ static AFMMETRICS met_ZapfChancery_MediumItalic[228] =
* Font metrics
*/
AFM PSDRV_ZapfChancery_MediumItalic =
const AFM PSDRV_ZapfChancery_MediumItalic =
{
"ZapfChancery-MediumItalic", /* FontName */
"ITC Zapf Chancery Medium Italic", /* FullName */
......
......@@ -23,7 +23,7 @@
* Glyph metrics
*/
static AFMMETRICS met_ZapfDingbats[188] =
static const AFMMETRICS met_ZapfDingbats[188] =
{
{
32, 0xf020, 278, PSDRV_AGLGlyphNames + 1169,
......@@ -784,7 +784,7 @@ static AFMMETRICS met_ZapfDingbats[188] =
* Font metrics
*/
AFM PSDRV_ZapfDingbats =
const AFM PSDRV_ZapfDingbats =
{
"ZapfDingbats", /* FontName */
"ITC Zapf Dingbats", /* FullName */
......
......@@ -25,7 +25,7 @@
* Built-in font metrics
*/
AFM *const PSDRV_BuiltinAFMs[] =
const AFM *const PSDRV_BuiltinAFMs[] =
{
&PSDRV_AvantGarde_Demi,
&PSDRV_AvantGarde_DemiOblique,
......
extern AFM PSDRV_AvantGarde_Demi;
extern AFM PSDRV_AvantGarde_DemiOblique;
extern AFM PSDRV_AvantGarde_Book;
extern AFM PSDRV_AvantGarde_BookOblique;
extern AFM PSDRV_Bookman_Demi;
extern AFM PSDRV_Bookman_DemiItalic;
extern AFM PSDRV_Bookman_Light;
extern AFM PSDRV_Bookman_LightItalic;
extern AFM PSDRV_Courier_Bold;
extern AFM PSDRV_Courier_BoldOblique;
extern AFM PSDRV_Courier;
extern AFM PSDRV_Courier_Oblique;
extern AFM PSDRV_Helvetica;
extern AFM PSDRV_Helvetica_Bold;
extern AFM PSDRV_Helvetica_BoldOblique;
extern AFM PSDRV_Helvetica_Narrow;
extern AFM PSDRV_Helvetica_Narrow_Bold;
extern AFM PSDRV_Helvetica_Narrow_BoldOblique;
extern AFM PSDRV_Helvetica_Narrow_Oblique;
extern AFM PSDRV_Helvetica_Oblique;
extern AFM PSDRV_NewCenturySchlbk_Bold;
extern AFM PSDRV_NewCenturySchlbk_BoldItalic;
extern AFM PSDRV_NewCenturySchlbk_Italic;
extern AFM PSDRV_NewCenturySchlbk_Roman;
extern AFM PSDRV_Palatino_Bold;
extern AFM PSDRV_Palatino_BoldItalic;
extern AFM PSDRV_Palatino_Italic;
extern AFM PSDRV_Palatino_Roman;
extern AFM PSDRV_Symbol;
extern AFM PSDRV_Times_Bold;
extern AFM PSDRV_Times_BoldItalic;
extern AFM PSDRV_Times_Italic;
extern AFM PSDRV_Times_Roman;
extern AFM PSDRV_ZapfChancery_MediumItalic;
extern AFM PSDRV_ZapfDingbats;
extern const AFM PSDRV_AvantGarde_Demi;
extern const AFM PSDRV_AvantGarde_DemiOblique;
extern const AFM PSDRV_AvantGarde_Book;
extern const AFM PSDRV_AvantGarde_BookOblique;
extern const AFM PSDRV_Bookman_Demi;
extern const AFM PSDRV_Bookman_DemiItalic;
extern const AFM PSDRV_Bookman_Light;
extern const AFM PSDRV_Bookman_LightItalic;
extern const AFM PSDRV_Courier_Bold;
extern const AFM PSDRV_Courier_BoldOblique;
extern const AFM PSDRV_Courier;
extern const AFM PSDRV_Courier_Oblique;
extern const AFM PSDRV_Helvetica;
extern const AFM PSDRV_Helvetica_Bold;
extern const AFM PSDRV_Helvetica_BoldOblique;
extern const AFM PSDRV_Helvetica_Narrow;
extern const AFM PSDRV_Helvetica_Narrow_Bold;
extern const AFM PSDRV_Helvetica_Narrow_BoldOblique;
extern const AFM PSDRV_Helvetica_Narrow_Oblique;
extern const AFM PSDRV_Helvetica_Oblique;
extern const AFM PSDRV_NewCenturySchlbk_Bold;
extern const AFM PSDRV_NewCenturySchlbk_BoldItalic;
extern const AFM PSDRV_NewCenturySchlbk_Italic;
extern const AFM PSDRV_NewCenturySchlbk_Roman;
extern const AFM PSDRV_Palatino_Bold;
extern const AFM PSDRV_Palatino_BoldItalic;
extern const AFM PSDRV_Palatino_Italic;
extern const AFM PSDRV_Palatino_Roman;
extern const AFM PSDRV_Symbol;
extern const AFM PSDRV_Times_Bold;
extern const AFM PSDRV_Times_BoldItalic;
extern const AFM PSDRV_Times_Italic;
extern const AFM PSDRV_Times_Roman;
extern const AFM PSDRV_ZapfChancery_MediumItalic;
extern const AFM PSDRV_ZapfDingbats;
#define GN_A (PSDRV_AGLGlyphNames + 0)
#define GN_AE (PSDRV_AGLGlyphNames + 1)
#define GN_AEacute (PSDRV_AGLGlyphNames + 2)
......
......@@ -164,7 +164,7 @@ static void read_afms(FILE *f_c, FILE *f_h)
" * Built-in font metrics\n"
" */\n"
"\n"
"AFM *const PSDRV_BuiltinAFMs[] =\n"
"const AFM *const PSDRV_BuiltinAFMs[] =\n"
"{\n", f_c);
......@@ -209,7 +209,7 @@ static void read_afms(FILE *f_c, FILE *f_h)
if (font_family[i] == '-')
font_family[i] = '_';
fprintf(f_h, "extern AFM PSDRV_%s;\n", font_family);
fprintf(f_h, "extern const AFM PSDRV_%s;\n", font_family);
fprintf(f_c, " &PSDRV_%s,\n", font_family);
while (1)
......
......@@ -93,7 +93,7 @@ typedef struct _tagFONTFAMILY {
} FONTFAMILY;
extern FONTFAMILY *PSDRV_AFMFontList;
extern AFM *const PSDRV_BuiltinAFMs[]; /* last element is NULL */
extern const AFM *const PSDRV_BuiltinAFMs[]; /* last element is NULL */
typedef struct _tagFONTNAME {
char *Name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment