diff options
Diffstat (limited to 'z48.c')
-rw-r--r-- | z48.c | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,7 @@ /*@z48.c:PDF back end@********************************************************/ /* */ -/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.39) */ -/* COPYRIGHT (C) 1991, 2008 Jeffrey H. Kingston */ +/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.41) */ +/* COPYRIGHT (C) 1991, 2023 Jeffrey H. Kingston */ /* */ /* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */ /* School of Information Technologies */ @@ -733,6 +733,7 @@ void PDFFile_EndFontEncoding(FILE* in_fp) /* */ /*****************************************************************************/ +/* *** made redundant by other changes JeffK 17/6/23 static t_font_list_entry_ptr PDFFont_FindListEntry(const FULL_CHAR* in_real_font_name) { @@ -745,6 +746,7 @@ static t_font_list_entry_ptr } return entry; } +*** */ /*****************************************************************************/ @@ -1042,17 +1044,17 @@ static PDF_OBJECT_NUM PDFFont_FindFontEncoding( void PDFFont_AddFont(FILE* in_fp, const FULL_CHAR* in_short_font_name, const FULL_CHAR* in_real_font_name, const FULL_CHAR* in_font_encoding_name) { - t_font_list_entry_ptr entry = PDFFont_FindListEntry(in_real_font_name); - debug4(DPD, D, "PDFFont_AddFont(-, %s, %s, %s) [new = %s]", + /* t_font_list_entry_ptr entry = PDFFont_FindListEntry(in_real_font_name); */ + debug3(DPD, D, "PDFFont_AddFont(-, %s, %s) [new = %s]", in_short_font_name, in_real_font_name, - (in_font_encoding_name != (FULL_CHAR *) NULL ? in_font_encoding_name : ""), - bool(entry == NULL)); + (in_font_encoding_name != (FULL_CHAR *) NULL ? in_font_encoding_name : "")); + /* , bool_show(entry == NULL)); */ /* *** this attempted bug fix by Jeff K. problem may be multiple font entries for the same font if (entry == NULL) *** */ if (TRUE) - entry = PDFFont_NewListEntry(in_short_font_name, in_real_font_name, + /* entry = */ PDFFont_NewListEntry(in_short_font_name, in_real_font_name, PDFFont_FindFontEncoding(in_font_encoding_name)); /* *** |