source: trunk/dports/tex/texlive-bin/files/patch-svn31313-pdftex-luatex.diff @ 111792

Last change on this file since 111792 was 111792, checked in by dports@…, 6 years ago

texlive-bin: backport various fixes from upstream (see #39334, and
http://www.tug.org/pipermail/tldistro/2013q3/000218.html)

File size: 2.5 KB
  • texk/web2c/luatexdir/font/writettf.w

    upstream svn31313 fix for pdftex and luatex
    ---
     texk/web2c/luatexdir/ChangeLog       |    5 +++++
     texk/web2c/luatexdir/font/writettf.w |    7 +++----
     texk/web2c/pdftexdir/ChangeLog       |    5 +++++
     texk/web2c/pdftexdir/ttf2afm.c       |    6 +++---
     texk/web2c/pdftexdir/writettf.c      |    7 +++----
     5 files changed, 19 insertions(+), 11 deletions(-)
    
     
    816816            }
    817817        }
    818818        break;
     819    default:
     820        pdftex_warn("unsupported format (%.8X) of `post' table, assuming 3.0",
     821                    (unsigned int) post_format);
    819822    case 0x00030000:
    820823        for (glyph = glyph_tab; glyph - glyph_tab < NMACGLYPHS; glyph++) {
    821824            glyph->name_index = (TTF_USHORT) (glyph - glyph_tab);
    822825        }
    823         break;
    824     default:
    825         pdftex_fail("unsupported format (%.8X) of `post' table",
    826                     (unsigned int) post_format);
    827826    }
    828827}
    829828
  • texk/web2c/pdftexdir/ChangeLog

     
     12013-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
     2
     3        * ttf2afm.c, writettf.c: Treat unknown 'post' table versions
     4        (found in some broken fonts) as 3.0, i.e., no Glyph names.
     5
    162013-04-22  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
    27
    38        * pdftex.web: pdftex_revision = "14"
  • texk/web2c/pdftexdir/ttf2afm.c

     
    521521            }
    522522        }
    523523        break;
     524    default:
     525        ttf_warn("unsupported format (%.8X) of `post' table, assuming 3.0",
     526                 post_format);
    524527    case 0x00030000:
    525528        if (print_glyph == AS_NAME) {
    526529            ttf_warn
    527530                ("no names available in `post' table, print glyph names as indices");
    528531            print_glyph = AS_INDEX;
    529532        }
    530         break;
    531     default:
    532         ttf_fail("unsupported format (%.8X) of `post' table", post_format);
    533533    }
    534534    ttf_seek_tab("loca", 0);
    535535    if (loca_format == 1) {
  • texk/web2c/pdftexdir/writettf.c

     
    517517            }
    518518        }
    519519        break;
     520    default:
     521        pdftex_warn("unsupported format (%.8X) of `post' table, assuming 3.0",
     522                    (unsigned int) post_format);
    520523    case 0x00030000:
    521524        for (glyph = glyph_tab; glyph - glyph_tab < NMACGLYPHS; glyph++) {
    522525            glyph->name_index = glyph - glyph_tab;
    523526        }
    524         break;
    525     default:
    526         pdftex_fail("unsupported format (%.8X) of `post' table",
    527                     (unsigned int) post_format);
    528527    }
    529528}
    530529
Note: See TracBrowser for help on using the repository browser.