Re: Embedded PFA font not recognized by driverless printer

Nate Bargmann <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Organization Amateur Radio!
Message-ID <ysrdoj3qp3nv2qcctrtdxrkzxeqb77gpfxdfxydem66oqidypx@ztszzlaaga4k>
* On 2026 19 Feb 12:24 -0600, Deri wrote:
> Hi Nate,

Hi Deri, thanks for the reply.

> Please provide the source, the dodgy pdf, ls of the devpdf directory 
> containing the LF pfa fonts, the LFR groff font and the download file in the 
> directory.

The requested files are attached.

Here is the ls output:

$ ls -l /usr/share/groff/site-font/devpdf/
total 188
-rw-rw-rw- 1 root root     41 Sep  8  2023 download
-rw-r--r-- 1 root root      0 Sep  8  2023 download.bak
-rw-r--r-- 1 root root 185512 Sep  8  2023 DSLutherscheTitel.pfa
lrwxrwxrwx 1 root root     36 Sep  8  2023 LFR -> /usr/share/groff/site-font/devps/LFR

> One possibility is the font is too big for the printer (1.22.4 and 1.23.0 did 
> not subset the font but embedded the whole font, groff 1.24.0 includes font 
> subsetting and only includes the glyphs required by the document). In the 
> meantime you could try running 'ps2pdf groff.pdf output.pdf' (which will do 
> the font subsetting for you and reduce the size of the pdf accordingly)

Processing the dodgy PDF was the trick.  It also reduced the size from
200k to about 11k.  At least this is a work-around for the time being.
Thanks for that, Deri!

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
letterhead.mm (application/x-freemind, 1.5 KB) - not displayed
letterhead.pdf (application/pdf, 195.4 KB) - not displayed
download (text/plain, 41 B)
	DSLutherscheTitel	DSLutherscheTitel.pfa
LFR (text/plain, 7.2 KB)
# This file has been generated with GNU afmtodit (groff) version 1.22.4
#
#   FullName DS Luthersche Titel
#   Version 2.001 2012
#   FamilyName DS Luthersche Titel

name LFR
internalname DSLutherscheTitel
spacewidth 321
encoding text.enc
ligatures fi fl 0

charset
ha	583,730	2	0	asciicircum
ti	667,412	0	1	asciitilde
vS	834,913,59	2	2	Scaron
vZ	511,912,206,0,12	3	3	Zcaron
vs	392,742,62	2	4	scaron
vz	285,741,229,25	3	5	zcaron
:Y	674,884,224	3	6	Ydieresis
tm	979,730,0,0,34	2	7	trademark
aq	281,716	2	8	quotesingle
Eu	556,728,11,0,13	2	9	Euro
space	321	0	32	space
!	262,656,41	0	33	exclam
"	552,717	2	34	quotedbl
dq	"
#	214,720,209,109	3	35	numbersign
sh	"
$	570,789,162	3	36	dollar
Do	"
%	786,612,91	0	37	percent
&	656,618,55	0	38	ampersand
'	219,716	2	39	quoteright
cq	"
(	328,742,272	3	40	parenleft
)	328,742,272	3	41	parenright
*	410,700	2	42	asterisk
+	667,597	0	43	plus
,	211,97,234	1	44	comma
-	229,412	0	45	hyphen
hy	"
.	232,130,43	0	46	period
/	384,734,83	2	47	slash
sl	"
0	575,499,9	0	48	zero
1	333,480,1	0	49	one
2	432,494,2	0	50	two
3	402,500,209,0,2	1	51	three
4	552,506,189,2	1	52	four
5	361,514,202,16,16	1	53	five
6	544,710,15	2	54	six
7	435,505,198	1	55	seven
8	496,677,19	2	56	eight
9	542,488,229	1	57	nine
:	254,455,43	0	58	colon
;	254,456,235	1	59	semicolon
<	664,703,230	3	60	less
=	667,490	0	61	equal
>	547,729,77,6	2	62	greater
?	379,656,41	0	63	question
@	917,677,214	3	64	at
at	"
A	616,715,66	2	65	A
B	806,705,57	2	66	B
C	661,705,87,6	2	67	C
D	796,704,57	2	68	D
E	656,717,39,3	2	69	E
F	521,711,190,2	3	70	F
G	789,732,52	2	71	G
H	745,720,186,0,16	3	72	H
I	565,709,106,0,32	2	73	I
J	534,709,183,0,33	3	74	J
K	656,718,73	2	75	K
L	481,715,66	2	76	L
M	954,723,70	2	77	M
N	773,702,68,5	2	78	N
O	786,710,62	2	79	O
P	666,700,211	3	80	P
Q	834,706,62	2	81	Q
R	771,706,70	2	82	R
S	834,706,59	2	83	S
T	656,704,62,4	2	84	T
U	623,712,63,2	2	85	U
V	801,704,63	2	86	V
W	967,713,62	2	87	W
X	608,722,69,0,1	2	88	X
Y	674,710,224	3	89	Y
Z	511,711,206,0,12	3	90	Z
[	265,727,257	3	91	bracketleft
lB	"
\	214,720,209,109	3	92	backslash
rs	"
]	265,727,257	3	93	bracketright
rB	"
^	0,754,0,357	2	94	circumflex
a^	"
_	500,0,123,6,4	0	95	underscore
`	216,728	2	96	quoteleft
oq	"
a	415,529,59	0	97	a
b	415,705,72	2	98	b
c	321,519,73,7	0	99	c
d	412,700,69	2	100	d
e	321,530,71	0	101	e
f	252,726,211,80	3	102	f
g	412,530,206	1	103	g
h	425,703,235	3	104	h
i	237,707,65	2	105	i
j	229,708,158	3	106	j
k	300,728,68,11	2	107	k
l	234,704,67,22	2	108	l
m	659,532,56	0	109	m
n	453,532,57	0	110	n
o	404,533,72	0	111	o
p	415,552,257	1	112	p
q	410,528,262	1	113	q
r	343,529,68,3	0	114	r
s	392,676,63	2	115	s
t	285,667,63,5	2	116	t
u	440,532,59,2	0	117	u
v	415,664,66	0	118	v
w	633,609,65	0	119	w
x	328,554,198,3	1	120	x
y	430,533,242	1	121	y
z	285,525,229	1	122	z
{	396,730,169	3	123	braceleft
lC	"
|	563,730,100	2	124	bar
ba	"
}	396,730,169	3	125	braceright
rC	"
~	0,682,0,145,138	2	126	tilde
a~	"
bq	220,85,206	1	128	quotesinglbase
Fo	548,477	0	129	guillemotleft
Fc	548,477	0	130	guillemotright
bu	354,470	0	131	bullet
Fn	490,700,137	2	132	florin
f/	125,679,31,189,193	2	133	fraction
%0	1155,612,91	0	134	perthousand
dg	510,721,164	3	135	dagger
dd	224,723,208,125	3	136	daggerdbl
en	453,352	0	137	endash
em	918,352	0	138	emdash
fi	462,723,207	3	140	fi
fl	517,726,210,21	3	141	fl
.i	237,533,65	0	144	dotlessi
ga	0,697,0,197	2	146	grave
a"	333,740,0,37	2	147	hungarumlaut
a.	237,717	2	148	dotaccent
ab	333,726,0,10	2	149	breve
ah	333,741	2	150	caron
ao	0,747,0,124,46	2	151	ring
ho	333,8,179	1	152	ogonek
lq	354,728	2	153	quotedblleft
rq	356,716	2	154	quotedblright
oe	565,540,72	0	155	oe
/l	234,704,66,22	2	156	lslash
Bq	359,85,206	1	157	quotedblbase
OE	1079,707,64	2	158	OE
/L	481,715,65	2	159	Lslash
r!	262,555,143	0	161	exclamdown
ct	379,688,30	2	162	cent
Po	453,648,59	0	163	sterling
Cs	688,578	0	164	currency
Ye	729,675	2	165	yen
bb	563,730,100	2	166	brokenbar
sc	445,701,215	3	167	section
ad	0,750,0,147,62	2	168	dieresis
co	760,677,14	2	169	copyright
Of	302,729	2	170	ordfeminine
fo	209,417	0	171	guilsinglleft
tno	445,671,227	3	172	logicalnot
\-	453,352	0	173	minus
rg	760,677,14	2	174	registered
a-	333,674	2	175	macron
de	396,676	2	176	degree
t+-	667,683	2	177	plusminus
S2	333,676	2	178	twosuperior
S3	333,674,0,0,2	2	179	threesuperior
aa	0,699,0,140,41	2	180	acute
*m	500,480,214	1	181	mu
mc	"
ps	603,609,128	0	182	paragraph
pc	265,366	0	183	periodcentered
ac	0,0,247,102,93	1	184	cedilla
S1	333,676	2	185	onesuperior
Om	281,730	2	186	ordmasculine
fc	211,417	0	187	guilsinglright
14	1010,679,31	2	188	onequarter
12	1010,679,31	2	189	onehalf
34	1010,679,31	2	190	threequarters
r?	379,656,41	0	191	questiondown
`A	616,866,66	2	192	Agrave
'A	616,865,66	2	193	Aacute
^A	616,926,66	2	194	Acircumflex
~A	616,821,66	2	195	Atilde
:A	616,884,66	2	196	Adieresis
oA	616,916,66	2	197	Aring
AE	1030,704,66	2	198	AE
,C	661,705,247,6	3	199	Ccedilla
`E	656,866,39,3	2	200	Egrave
'E	656,865,39,3	2	201	Eacute
^E	656,926,39,3	2	202	Ecircumflex
:E	656,884,39,3	2	203	Edieresis
`I	565,866,106,0,32	2	204	Igrave
'I	565,865,106,0,32	2	205	Iacute
^I	565,926,106,0,32	2	206	Icircumflex
:I	565,884,106,0,32	2	207	Idieresis
-D	796,704,56	2	208	Eth
~N	773,821,68,5	2	209	Ntilde
`O	786,866,62	2	210	Ograve
'O	786,865,62	2	211	Oacute
^O	786,921,62	2	212	Ocircumflex
~O	786,821,62	2	213	Otilde
:O	786,882,62	2	214	Odieresis
tmu	667,579	0	215	multiply
/O	789,710,93	2	216	Oslash
`U	623,865,63,2	2	217	Ugrave
'U	623,861,63,2	2	218	Uacute
^U	623,926,63,2	2	219	Ucircumflex
:U	623,885,63,2	2	220	Udieresis
'Y	674,865,224	3	221	Yacute
TP	844,722,139	2	222	Thorn
ss	404,730,205	3	223	germandbls
`a	415,697,59	2	224	agrave
'a	415,700,59	2	225	aacute
^a	415,754,59	2	226	acircumflex
~a	415,680,59	2	227	atilde
:a	415,750,59	2	228	adieresis
oa	415,787,59	2	229	aring
ae	521,536,73	0	230	ae
,c	321,519,243,7	1	231	ccedilla
`e	321,697,71	2	232	egrave
'e	321,697,71,29	2	233	eacute
^e	321,755,71,3	2	234	ecircumflex
:e	321,750,71,53	2	235	edieresis
`i	237,704,65,0,70	2	236	igrave
'i	237,703,65,134	2	237	iacute
^i	237,760,65,12	2	238	icircumflex
:i	237,749,65,41	2	239	idieresis
Sd	412,700,68	2	240	eth
~n	453,680,57	2	241	ntilde
`o	404,697,72	2	242	ograve
'o	404,698,72	2	243	oacute
^o	404,751,72	2	244	ocircumflex
~o	404,679,72	2	245	otilde
:o	404,751,72	2	246	odieresis
tdi	667,587	0	247	divide
/o	404,518,91	0	248	oslash
`u	440,697,59,2	2	249	ugrave
'u	440,700,59,2	2	250	uacute
^u	440,754,59,2	2	251	ucircumflex
:u	440,750,59,2	2	252	udieresis
'y	430,700,242	3	253	yacute
Tp	458,700,136	2	254	thorn
:y	430,750,242	3	255	ydieresis
---	321,0	0	256	.notdef
---	0,0	0	257	.null
---	616,948,66	2	258	Adieresis.001
---	1469,803,38	2	259	DST
---	656,948,39,3	2	260	Edieresis.001
---	565,950,106,0,32	2	261	Idieresis.001
---	786,948,62	2	262	Odieresis.001
---	623,940,63,2	2	263	Udieresis.001
---	674,942,224	3	264	Ydieresis.001
---	415,776,59	2	265	adieresis.001
---	510,721,164	3	266	daggerdbl.001
---	321,775,71	2	267	edieresis.001
u2026	1000,110,45	0	268	ellipsis
---	664,352	0	269	endash.001
---	229,412	0	270	equal.001
---	237,775,65	2	271	idieresis.001
---	667,490	0	272	logicalnot.001
---	321,0	0	273	nonmarkingreturn
---	667,667,21	2	274	numbersign.001
---	404,778,72	2	275	odieresis.001
---	376,555,143	0	276	questiondown.001
---	379,656,41	0	277	questiondown.002
---	440,776,59,2	2	278	udieresis.001
u2219	265,366	0	279	uni2219
---	430,776,242	3	280	ydieresis.001
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQSC1k9rDmfNQfaJu6b7LFEw1VqIGQUCaZdbWAAKCRD7LFEw1VqI
GeJYAKCDbwSjak5+kE8Xs5pAeN+g0oiRRgCfSvbVv074glgrhwZrjB1J6umtVOY=
=ikoL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.