diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2008-04-18 12:27:06 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2008-04-18 12:27:06 +0000 |
commit | a94278f9e2c781a67d137e0df26c35592f60cb0b (patch) | |
tree | c867f5400348fc8b5a559ee5d744e33bd9622d70 /Build/source/texk/web2c/luatexdir/font | |
parent | 5e63f0508a830d7b182b384935a1377f9031e619 (diff) |
luatex 0.25.3
git-svn-id: svn://tug.org/texlive/trunk@7494 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/vfovf.c | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/vfpacket.c | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/writefont.c | 3 |
3 files changed, 9 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/vfovf.c b/Build/source/texk/web2c/luatexdir/font/vfovf.c index 0f23cb07b94..61a0b76aaa4 100644 --- a/Build/source/texk/web2c/luatexdir/font/vfovf.c +++ b/Build/source/texk/web2c/luatexdir/font/vfovf.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with LuaTeX; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -$Id: vfovf.c 1022 2008-02-14 11:49:30Z taco $ +$Id: vfovf.c 1169 2008-04-15 14:57:56Z oneiros $ */ #include "ptexlib.h" @@ -167,7 +167,7 @@ pdf_check_vf_cur_val (void) { internal_font_number f; f = cur_val; if (font_type(f) == virtual_font_type) - pdf_error("font", "command cannot be used with virtual font"); + pdf_error(maketexstring("font"), maketexstring("command cannot be used with virtual font")); } static void diff --git a/Build/source/texk/web2c/luatexdir/font/vfpacket.c b/Build/source/texk/web2c/luatexdir/font/vfpacket.c index 4d8445f2227..3ce10dd10ce 100644 --- a/Build/source/texk/web2c/luatexdir/font/vfpacket.c +++ b/Build/source/texk/web2c/luatexdir/font/vfpacket.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with pdfTeX; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -$Id: vfpacket.c 1013 2008-02-14 00:09:02Z oneiros $ +$Id: vfpacket.c 1169 2008-04-15 14:57:56Z oneiros $ */ #include "ptexlib.h" @@ -102,7 +102,7 @@ vf_packet_bytes (charinfo *co) { case packet_nop_code: break; default: - pdf_error("vf", "invalid DVI command"); + pdf_error(maketexstring("vf"), maketexstring("invalid DVI command")); } }; return (cur_packet_byte +1); @@ -211,7 +211,7 @@ do_vf_packet (internal_font_number vf_f, integer c) { case packet_nop_code: break; default: - pdf_error("vf", "invalid DVI command"); + pdf_error(maketexstring("vf"), maketexstring("invalid DVI command")); } }; cur_h = save_cur_h; @@ -268,7 +268,7 @@ integer *packet_local_fonts(internal_font_number f, integer *num) { (void)do_packet_byte(); break; default: - pdf_error("vf", "invalid DVI command"); + pdf_error(maketexstring("vf"), maketexstring("invalid DVI command")); } } } @@ -334,7 +334,7 @@ replace_packet_fonts(internal_font_number f, integer *old_fontid, integer *new_f (void)do_packet_byte(); break; default: - pdf_error("vf", "invalid DVI command"); + pdf_error(maketexstring("vf"), maketexstring("invalid DVI command")); } } } diff --git a/Build/source/texk/web2c/luatexdir/font/writefont.c b/Build/source/texk/web2c/luatexdir/font/writefont.c index 05257746889..679929e32e4 100644 --- a/Build/source/texk/web2c/luatexdir/font/writefont.c +++ b/Build/source/texk/web2c/luatexdir/font/writefont.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with pdfTeX; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -$Id: writefont.c 1112 2008-03-20 14:46:32Z taco $ +$Id: writefont.c 1139 2008-04-09 14:44:20Z taco $ */ #include "ptexlib.h" @@ -596,6 +596,7 @@ void create_fontdictionary(fm_entry * fm, integer font_objnum, { fo_entry *fo = new_fo_entry(); get_char_range(fo, f); /* set fo->first_char and fo->last_char from f */ + if (fo->last_char>255) fo->last_char=255; /* added 9-4-2008, mantis #25 */ assert(fo->last_char >= fo->first_char); fo->fm = fm; fo->fo_objnum = font_objnum; |