diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-05-19 00:42:48 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-05-19 00:42:48 +0200 |
commit | eb3942e15700f3f4f61b4e46917ae8fbe614e524 (patch) | |
tree | be0c003fa8a0dead8d9dc921050ba13a56d1a9dd /z48.c | |
parent | 71d625f730d872791eef74d7999e1be28d5e5c7e (diff) | |
download | lout-eb3942e15700f3f4f61b4e46917ae8fbe614e524.tar.gz |
http://jeffreykingston.id.au/lout/lout-3.41.tar.gz
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)); /* *** |