<html dir="ltr"><head></head><body style="text-align: left; direction: ltr; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>On Fri, 2019-12-27 at 00:41 +0100, Bert Driehuis wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>First of all, when forwarding HTML formatted mail to a mailing list,</pre><pre>please consider removing the HTML makeup by pasting the text into</pre><pre>Notepad (or it's nearest equivalent if you're using Linux or MacOS),</pre><pre>and copying it back.</pre><pre><br></pre><pre>Putting the blame on Scribus is too easy. I am not aware of any bugs</pre><pre>in Scribus's font embedding. I am, however, painfully aware of how</pre><pre>hard font handling is, so I'm not excluding anything up front. I have</pre><pre>downloaded a copy of Baker Signet Std Regular as an OTF off the first</pre><pre>link that Google gave me, and ran it through FontForge's font</pre><pre>validator. It gave around thirty warnings about missing points at</pre><pre>extrema, and two about disordered and too-close elements in the</pre><pre>BlueValues/OtherBlues arrays. Heaven knows if any of these trip up PDF</pre><pre>Studio, or if the submitter used a different copy of Baker Signet than</pre><pre>I found, or if, heaven forbids, Scribus tripped up on it. If I find a</pre><pre>spare moment in the next days, I'll see if I can run the font through</pre><pre>Google's validator, but with all the unknowns it's probably an</pre><pre>exercise in futility.</pre><pre><br></pre><pre>The thing to be aware of is that font embedding is not a magic trick.</pre><pre>It entails copying the font after removing the unneeded glyphs and</pre><pre>unneeded tables, but the basic "garbage in, garbage out" rule still</pre><pre>applies. Many fonts, including commercial fonts, and even including</pre><pre>Adobe fonts, do contain encoding errors.</pre><pre><br></pre><pre>Tools exist to extract fonts from a PDF. The first step in further</pre><pre>analyzing this issue is extracting the offending font from the PDF,</pre><pre>and running a number of font validations on it. If I can get a copy of</pre><pre>the troublesome PDF I'll be happy to take a look at it, but I'm not</pre><pre>promising a turnaround time.</pre><pre><br></pre><pre>To the original reporter I'd say, "Embedding fonts is a black art</pre><pre>which exposes you to all the vagaries of font coding. Outlining is</pre><pre>always a safe choice, because it moves the font interpretation to your</pre><pre>computer, where you have full control and visibility on the end</pre><pre>result".</pre><pre><br></pre><pre>With kind regards,</pre><pre><br></pre><pre>Bert Driehuis</pre><pre><br></pre></blockquote><pre><br></pre><pre>Thank you, and sorry about the html. I know better.</pre><pre>It is as I thought about the fonts. I don't mind exporting them as curves. </pre><pre>The only drawback is that the "text" in the resulting pdf cannot be </pre><pre>indexed for my search engine to pick up, unless I use OCR to add a text</pre><pre>layer afterward. But actually most of the fonts I routinely use are</pre><pre>not displayed in PDF Studio, and I really don't have time to track down</pre><pre>all their irregularities, so I'll just live with the problem.</pre><pre><br></pre><pre>Really, the only reason I use PDF Studio is for its imposition</pre><pre>capabilities. I find PDF X-Change to be a better pdf editor, even though</pre><pre>I have to run it under Wine, but it lacks imposition tools. </pre></body></html>