You are not logged in.

#1 2018-03-15 13:34:43

risto3
Member
Registered: 2016-09-27
Posts: 36

afp fonts anywhere?

Been frustrated with crazed overprinting in PDF bank statements so I finally looked
at what's used:

pdffonts /tmp/063153917_002103930_RMPPRO_20180228.pdf 
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
Helvetica-BoldOblique                Type 1            WinAnsi          no  no  no      32  0
Helvetica-Condensed-BoldObl          Type 1            WinAnsi          no  no  no      33  0
Helvetica-Narrow-BoldOblique         Type 1            WinAnsi          no  no  no      35  0
Helvetica                            Type 1            WinAnsi          no  no  no      37  0
[none]                               Type 3            Custom           yes no  yes     38  0
C0D0GT18                             Type 1            WinAnsi          no  no  no      58  0
[none]                               Type 3            Custom           yes no  yes     60  0
[none]                               Type 3            Custom           yes no  yes     69  0
[none]                               Type 3            Custom           yes no  yes     98  0
Helvetica-Narrow-Oblique             Type 1            WinAnsi          no  no  no     109  0
[none]                               Type 3            Custom           yes no  yes    111  0
Helvetica-Bold                       Type 1            WinAnsi          no  no  no     182  0
[none]                               Type 3            Custom           yes no  yes    183  0
[none]                               Type 3            Custom           yes no  yes    221  0

Perhaps the C0D0GT18 font is causing the problems, which I can only find in some IBM docs (z/OS?!)
and where it mentions its a Gothic(RM) font using T1D0BASE

Currently, at least according to gs, by default C0D0GT18 is replaced by Helvetica.

Anybody know a how to get this font, or perhaps a really compatible replacement?

Offline

#2 2018-03-15 14:24:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,523
Website

Re: afp fonts anywhere?

Have you found this:
https://www.ibm.com/support/knowledgece … mtable.htm

This suggests Gothic size 18 could be a good replacement.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-03-15 14:41:56

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: afp fonts anywhere?

You can try [community]/otf-overpass or ttf-oswald (AUR) as your gothic font.

Last edited by progandy (2018-03-15 14:42:46)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2018-03-21 17:28:30

risto3
Member
Registered: 2016-09-27
Posts: 36

Re: afp fonts anywhere?

Trilby wrote:

Have you found this:
https://www.ibm.com/support/knowledgece … mtable.htm

This suggests Gothic size 18 could be a good replacement.

Yes, I did notice that... only thing, not too sure how to replace the Type 1 C0D0GT18
in /etc/fonts... any example for this?

BTW, mutool is interesting in its output:

$ mutool info 063153917_002103930_RMPPRO_20180228.pdf
063153917_002103930_RMPPRO_20180228.pdf:

PDF-1.3
Info object (403 0 R):
<</Creator(Ricoh Production Print Solutions Afp2Pdf Version: 303u)/CreationDate(D:20180313085529-00'00')/ModDate(D:20180313085529-00'00')/Producer(303u AIX \(64bit\))/Author(Caisse d'Epargne)/Title(Relev\351s)/Subject(Relev\351s)/Keywords(None)>>
Pages: 9

Retrieving info from pages 1-9...
Mediaboxes (1):
    1    (5 0 R):    [ 0 0 595 842 ]

Fonts (14):
    1    (5 0 R):    Type1 'Helvetica-BoldOblique' WinAnsiEncoding (32 0 R)
    1    (5 0 R):    Type1 'Helvetica-Condensed-BoldObl' WinAnsiEncoding (33 0 R)
    1    (5 0 R):    Type1 'Helvetica-Narrow-BoldOblique' WinAnsiEncoding (35 0 R)
    1    (5 0 R):    Type1 'Helvetica' WinAnsiEncoding (37 0 R)
    1    (5 0 R):    Type3 'C0D0GT24' (38 0 R)
    1    (5 0 R):    Type1 'C0D0GT18' WinAnsiEncoding (58 0 R)
    1    (5 0 R):    Type3 'C0D0GT10' (60 0 R)
    1    (5 0 R):    Type3 'C0L00BOA' (69 0 R)
    1    (5 0 R):    Type3 'C0NPAI' (98 0 R)
    1    (5 0 R):    Type1 'Helvetica-Narrow-Oblique' WinAnsiEncoding (109 0 R)
    1    (5 0 R):    Type3 'C0GS0700' (111 0 R)
    1    (5 0 R):    Type1 'Helvetica-Bold' WinAnsiEncoding (182 0 R)
    2    (8 0 R):    Type3 'C0GS0710' (183 0 R)
    9    (29 0 R):    Type3 'C0GL0900' (221 0 R)

Images (7):
    1    (5 0 R):    [ DCT ] 1123x3 8bpc DevRGB (268 0 R)
    1    (5 0 R):    [ DCT ] 34x585 8bpc DevRGB (269 0 R)
    1    (5 0 R):    [ DCT ] 34x585 8bpc DevRGB (270 0 R)
    1    (5 0 R):    [ DCT ] 497x74 8bpc DevRGB (271 0 R)
    1    (5 0 R):    [ DCT ] 363x34 8bpc DevRGB (272 0 R)
    1    (5 0 R):    [ DCT ] 70x69 8bpc DevRGB (273 0 R)
    1    (5 0 R):    [ DCT ] 34x590 8bpc DevRGB (274 0 R)
$ mutool extract 063153917_002103930_RMPPRO_20180228.pdf
warning: unhandled font type
warning: ... repeated 4 times ...
$ mutool draw  063153917_002103930_RMPPRO_20180228.pdf
warning: expected name after CMapName in cmap
page 063153917_002103930_RMPPRO_20180228.pdf 1
warning: ... repeated 5 times ...
warning: expected name after CMapName in cmap
page 063153917_002103930_RMPPRO_20180228.pdf 2
page 063153917_002103930_RMPPRO_20180228.pdf 3
page 063153917_002103930_RMPPRO_20180228.pdf 4
page 063153917_002103930_RMPPRO_20180228.pdf 5
page 063153917_002103930_RMPPRO_20180228.pdf 6
page 063153917_002103930_RMPPRO_20180228.pdf 7
page 063153917_002103930_RMPPRO_20180228.pdf 8
warning: expected name after CMapName in cmap
page 063153917_002103930_RMPPRO_20180228.pdf 9

In parallel I notified the bank that the pdf files communicated aren't necessarily exploitable due to font issues.

Offline

Board footer

Powered by FluxBB