pdftex[826] branches/stable/tests/13-vf-font-expansion-bug: test

commits+thanh at tug.org commits+thanh at tug.org
Tue May 26 15:34:50 CEST 2020


Revision: 826
          http://tug.org/svn/pdftex?view=revision&revision=826
Author:   thanh
Date:     2020-05-26 15:34:50 +0200 (Tue, 26 May 2020)
Log Message:
-----------
test files for bug: pdftex tries to load non-sense fonts

Added Paths:
-----------
    branches/stable/tests/13-vf-font-expansion-bug/
    branches/stable/tests/13-vf-font-expansion-bug/8r.enc
    branches/stable/tests/13-vf-font-expansion-bug/Makefile
    branches/stable/tests/13-vf-font-expansion-bug/bchr8a.pfb
    branches/stable/tests/13-vf-font-expansion-bug/bchr8r+20.tfm
    branches/stable/tests/13-vf-font-expansion-bug/bchr8r-20.tfm
    branches/stable/tests/13-vf-font-expansion-bug/bchr8r.tfm
    branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.tfm
    branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.vf
    branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.tfm
    branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.vf
    branches/stable/tests/13-vf-font-expansion-bug/bchr8t.tfm
    branches/stable/tests/13-vf-font-expansion-bug/bchr8t.vf
    branches/stable/tests/13-vf-font-expansion-bug/cmr10.pfb
    branches/stable/tests/13-vf-font-expansion-bug/cmr10.tfm
    branches/stable/tests/13-vf-font-expansion-bug/vfexp.tex

Added: branches/stable/tests/13-vf-font-expansion-bug/8r.enc
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/8r.enc	                        (rev 0)
+++ branches/stable/tests/13-vf-font-expansion-bug/8r.enc	2020-05-26 13:34:50 UTC (rev 826)
@@ -0,0 +1,143 @@
+% File 8r.enc  TeX Base 1 Encoding  Revision 2.0  2002-10-30
+%
+% @@psencodingfile@{
+%   author    = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry,
+%                W. Schmidt, P. Lehman",
+%   version   = "2.0",
+%   date      = "27nov06",
+%   filename  = "8r.enc",
+%   email     = "tex-fonts@@tug.org",
+%   docstring = "This is the encoding vector for Type1 and TrueType
+%                fonts to be used with TeX.  This file is part of the
+%                PSNFSS bundle, version 9"
+% @}
+% 
+% The idea is to have all the characters normally included in Type 1 fonts
+% available for typesetting. This is effectively the characters in Adobe
+% Standard encoding, ISO Latin 1, Windows ANSI including the euro symbol,
+% MacRoman, and some extra characters from Lucida.
+% 
+% Character code assignments were made as follows:
+% 
+% (1) the Windows ANSI characters are almost all in their Windows ANSI
+% positions, because some Windows users cannot easily reencode the
+% fonts, and it makes no difference on other systems. The only Windows
+% ANSI characters not available are those that make no sense for
+% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen
+% (173). quotesingle and grave are moved just because it's such an
+% irritation not having them in TeX positions.
+% 
+% (2) Remaining characters are assigned arbitrarily to the lower part
+% of the range, avoiding 0, 10 and 13 in case we meet dumb software.
+% 
+% (3) Y&Y Lucida Bright includes some extra text characters; in the
+% hopes that other PostScript fonts, perhaps created for public
+% consumption, will include them, they are included starting at 0x12.
+% These are /dotlessj /ff /ffi /ffl.
+% 
+% (4) hyphen appears twice for compatibility with both ASCII and Windows.
+%
+% (5) /Euro was assigned to 128, as in Windows ANSI
+%
+% (6) Missing characters from MacRoman encoding incorporated as follows:
+%
+%     PostScript      MacRoman        TeXBase1
+%     --------------  --------------  --------------
+%     /notequal       173             0x16
+%     /infinity       176             0x17
+%     /lessequal      178             0x18
+%     /greaterequal   179             0x19
+%     /partialdiff    182             0x1A
+%     /summation      183             0x1B
+%     /product        184             0x1C
+%     /pi             185             0x1D
+%     /integral       186             0x81
+%     /Omega          189             0x8D
+%     /radical        195             0x8E
+%     /approxequal    197             0x8F
+%     /Delta          198             0x9D
+%     /lozenge        215             0x9E
+%
+/TeXBase1Encoding [
+% 0x00
+ /.notdef /dotaccent /fi /fl
+ /fraction /hungarumlaut /Lslash /lslash
+ /ogonek /ring /.notdef /breve
+ /minus /.notdef /Zcaron /zcaron
+% 0x10
+ /caron /dotlessi /dotlessj /ff
+ /ffi /ffl /notequal /infinity
+ /lessequal /greaterequal /partialdiff /summation
+ /product /pi /grave /quotesingle
+% 0x20
+ /space /exclam /quotedbl /numbersign
+ /dollar /percent /ampersand /quoteright
+ /parenleft /parenright /asterisk /plus
+ /comma /hyphen /period /slash
+% 0x30
+ /zero /one /two /three
+ /four /five /six /seven
+ /eight /nine /colon /semicolon
+ /less /equal /greater /question
+% 0x40
+ /at /A /B /C
+ /D /E /F /G
+ /H /I /J /K
+ /L /M /N /O
+% 0x50
+ /P /Q /R /S
+ /T /U /V /W
+ /X /Y /Z /bracketleft
+ /backslash /bracketright /asciicircum /underscore
+% 0x60
+ /quoteleft /a /b /c
+ /d /e /f /g
+ /h /i /j /k
+ /l /m /n /o
+% 0x70
+ /p /q /r /s
+ /t /u /v /w
+ /x /y /z /braceleft
+ /bar /braceright /asciitilde /.notdef
+% 0x80
+ /Euro /integral /quotesinglbase /florin
+ /quotedblbase /ellipsis /dagger /daggerdbl
+ /circumflex /perthousand /Scaron /guilsinglleft
+ /OE /Omega /radical /approxequal
+% 0x90
+ /.notdef /.notdef /.notdef /quotedblleft
+ /quotedblright /bullet /endash /emdash
+ /tilde /trademark /scaron /guilsinglright
+ /oe /Delta /lozenge /Ydieresis
+% 0xA0
+ /.notdef /exclamdown /cent /sterling
+ /currency /yen /brokenbar /section
+ /dieresis /copyright /ordfeminine /guillemotleft
+ /logicalnot /hyphen /registered /macron
+% 0xB0
+ /degree /plusminus /twosuperior /threesuperior
+ /acute /mu /paragraph /periodcentered
+ /cedilla /onesuperior /ordmasculine /guillemotright
+ /onequarter /onehalf /threequarters /questiondown
+% 0xC0
+ /Agrave /Aacute /Acircumflex /Atilde
+ /Adieresis /Aring /AE /Ccedilla
+ /Egrave /Eacute /Ecircumflex /Edieresis
+ /Igrave /Iacute /Icircumflex /Idieresis
+% 0xD0
+ /Eth /Ntilde /Ograve /Oacute
+ /Ocircumflex /Otilde /Odieresis /multiply
+ /Oslash /Ugrave /Uacute /Ucircumflex
+ /Udieresis /Yacute /Thorn /germandbls
+% 0xE0
+ /agrave /aacute /acircumflex /atilde
+ /adieresis /aring /ae /ccedilla
+ /egrave /eacute /ecircumflex /edieresis
+ /igrave /iacute /icircumflex /idieresis
+% 0xF0
+ /eth /ntilde /ograve /oacute
+ /ocircumflex /otilde /odieresis /divide
+ /oslash /ugrave /uacute /ucircumflex
+ /udieresis /yacute /thorn /ydieresis
+] def
+

Added: branches/stable/tests/13-vf-font-expansion-bug/Makefile
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/Makefile	                        (rev 0)
+++ branches/stable/tests/13-vf-font-expansion-bug/Makefile	2020-05-26 13:34:50 UTC (rev 826)
@@ -0,0 +1,3 @@
+include ../Common.mak
+clean:
+	$(clean)

Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8a.pfb
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8a.pfb
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8a.pfb	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8a.pfb	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8a.pfb
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8r+20.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8r+20.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8r+20.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8r+20.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8r+20.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8r-20.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8r-20.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8r-20.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8r-20.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8r-20.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8r.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8r.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8r.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8r.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8r.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.vf
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.vf
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.vf	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.vf	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8t+20.vf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.vf
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.vf
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.vf	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.vf	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8t-20.vf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8t.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8t.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8t.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8t.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8t.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/bchr8t.vf
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/bchr8t.vf
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/bchr8t.vf	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/bchr8t.vf	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/bchr8t.vf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/cmr10.pfb
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/cmr10.pfb
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/cmr10.pfb	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/cmr10.pfb	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/cmr10.pfb
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/cmr10.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/13-vf-font-expansion-bug/cmr10.tfm
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/cmr10.tfm	2020-05-15 18:03:05 UTC (rev 825)
+++ branches/stable/tests/13-vf-font-expansion-bug/cmr10.tfm	2020-05-26 13:34:50 UTC (rev 826)

Property changes on: branches/stable/tests/13-vf-font-expansion-bug/cmr10.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/stable/tests/13-vf-font-expansion-bug/vfexp.tex
===================================================================
--- branches/stable/tests/13-vf-font-expansion-bug/vfexp.tex	                        (rev 0)
+++ branches/stable/tests/13-vf-font-expansion-bug/vfexp.tex	2020-05-26 13:34:50 UTC (rev 826)
@@ -0,0 +1,19 @@
+\catcode`\{=1 \catcode`\}=2 \pdfoutput=1 \nonstopmode \hbadness=10000
+\vsize=20pc \hsize=30pt \parfillskip=0pt plus1fil
+\font\1=cmr10
+\font\2=bchr8t
+%\font\2=bchr8r
+\pdfcompresslevel=0
+\pdfobjcompresslevel=0
+\pdfmapfile{}
+\pdfmapline{+cmr10 CMR10 <cmr10.pfb}
+\pdfmapline{+bchr8r CharterBT-Roman " TeXBase1Encoding ReEncodeFont " <8r.enc <bchr8a.pfb}
+\pdfmapline{+bchr8r+20 CharterBT-Roman " 1.020 ExtendFont TeXBase1Encoding ReEncodeFont " <8r.enc <bchr8a.pfb}
+\pdfmapline{+bchr8r-20 CharterBT-Roman " 0.980 ExtendFont TeXBase1Encoding ReEncodeFont " <8r.enc <bchr8a.pfb}
+\pdffontexpand\1 100 100 5 %autoexpand
+\pdffontexpand\2 20  20 20
+\pdfadjustspacing=2
+\1 ABC
+
+\2 This is a paragraph with font expansion.
+\end



More information about the pdftex-commits mailing list.