[pdftex] Utopia font is missing some font parameters
Ross Moore
ross.moore at mq.edu.au
Sun Nov 12 22:56:21 CET 2017
Hi all,
I’ve encountered an issue with the Utopia font, as loaded with the Fourier package.
It affects the PDF content stream when \pdfinterwordspaceon is in effect.
A minimal example is attached, with the PDF content stream shown
afterwards, both with and w/out the Fourier package loaded.
e.g.
/F18 10.0364 Tf 17.945 0 Td [(Th)1(i)]TJ/F20 1 Tf( )Tj/F18 10.0364 Tf 15.24 0 Td [(s)]TJ
instead of
/F15 10.9091 Tf 34.272 0 Td [(This)]TJ
The effect is so subtle that it wouldn’t normally be noticed.
For me, it affects the Tags display in Acrobat Pro. when generating fully
Tagged PDF documents; as seen in the attached images (if they come through).
non-Fourier:
[cid:F98D9BAD-CBB4-4C96-92CA-4F4620267E99 at telstra.com.au]
with Fourier
[cid:3C1B7E0C-FB02-42C4-BED5-1B3550147577 at telstra.com.au]
Interword fake-spaces are being (incorrectly) inserted in the middle of some words,
as well as (correctly) between words.
Examining the application source: pdftex.web
the code affected must be this:
if gen_faked_interword_space and
((abs(v_out) > 2*x_height(f)) or
(s_out > space(f) - space_shrink(f)) or
((f <> pdf_f) and (v = 0))) then
begin
must_insert_space := true;
end;
which would allow such extra spaces if space(f) were to be zero, or otherwise too small.
The font here is (I think): futs8r
Is there any way to check the values of the font parameters directly, in a running job?
Better still, can they be altered by pdftex within the document preamble, say?
Or can the coding above be modified to first check that space(f) has a reasonable value?
If 0 or otherwise too small, replace it with a more realistic value when doing the
kind of testing done here.
Hope someone can help get this fixed.
Cheers
Ross
Dr Ross Moore
Mathematics Dept | 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955 | F: +61 2 9850 8114<tel:%2B61%202%209850%209695>
M:+61 407 288 255<tel:%2B61%20409%20125%20670> | E: ross.moore at mq.edu.au<mailto:rick.minter at mq.edu.au>
http://www.maths.mq.edu.au<http://mq.edu.au/>
[cid:image001.png at 01D030BE.D37A46F0]<http://mq.edu.au/>
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.<http://mq.edu.au/>
This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.<http://mq.edu.au/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pdftex/attachments/20171112/10d35c79/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-Fourier.png
Type: image/png
Size: 54116 bytes
Desc: non-Fourier.png
URL: <http://tug.org/pipermail/pdftex/attachments/20171112/10d35c79/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with-Fourier.png
Type: image/png
Size: 51097 bytes
Desc: with-Fourier.png
URL: <http://tug.org/pipermail/pdftex/attachments/20171112/10d35c79/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <http://tug.org/pipermail/pdftex/attachments/20171112/10d35c79/attachment-0005.png>
More information about the pdftex
mailing list