From ross.moore at mq.edu.au Sun Nov 12 22:56:21 2017 From: ross.moore at mq.edu.au (Ross Moore) Date: Sun, 12 Nov 2017 21:56:21 +0000 Subject: [pdftex] Utopia font is missing some font parameters Message-ID: <0F8A4BBA-4746-4A68-B1D5-5F7C0E0B080B@mq.edu.au> 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 M:+61 407 288 255 | E: ross.moore at mq.edu.au http://www.maths.mq.edu.au [cid:image001.png at 01D030BE.D37A46F0] CRICOS Provider Number 00002J. Think before you print. Please consider the environment before printing this email. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: non-Fourier.png Type: image/png Size: 54116 bytes Desc: non-Fourier.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: with-Fourier.png Type: image/png Size: 51097 bytes Desc: with-Fourier.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4605 bytes Desc: image001.png URL: From ross.moore at mq.edu.au Sun Nov 12 23:10:26 2017 From: ross.moore at mq.edu.au (Ross Moore) Date: Sun, 12 Nov 2017 22:10:26 +0000 Subject: [pdftex] Utopia font is missing some font parameters In-Reply-To: <0F8A4BBA-4746-4A68-B1D5-5F7C0E0B080B@mq.edu.au> References: <0F8A4BBA-4746-4A68-B1D5-5F7C0E0B080B@mq.edu.au> Message-ID: Oops, here?s the minimal example. 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 Interword fake-spaces are being (incorrectly) inserted in the middle of some words, as well as (correctly) between words. Hope someone can help get this fixed. 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 M:+61 407 288 255 | E: ross.moore at mq.edu.au http://www.maths.mq.edu.au [cid:e1eed15e-52a6-45ff-a7ea-cdc2d37f261b at ausprd01.prod.outlook.com] CRICOS Provider Number 00002J. Think before you print. Please consider the environment before printing this email. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4605 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fourier-test.tex Type: application/octet-stream Size: 2382 bytes Desc: fourier-test.tex URL: