[texworks] Poppler fonts

Paul A Norman paul.a.norman at gmail.com
Thu Mar 31 10:27:28 CEST 2011


Ok,

Had as spare moment, used you file Stefan, thanks for that was thinking that
was the next step.

Did the same thing as I did before with Duncan's pdf, opened Stefan's file
with,

1. the Tw new fonts folder in place,

http://dl.dropbox.com/u/13401476/general_images/Tw-Stefans-base14-fonts-with-Tw-fonts_folder.jpg

[image: Tw-Stefans-base14-fonts-with-Tw-fonts_folder.jpg]

2. and then again with the fonts folder not available,
http://dl.dropbox.com/u/13401476/general_images/Tw-Stefans-base14-fonts-with-Tw-fonts_folder-renamed.jpg

[image: Tw-Stefans-base14-fonts-with-Tw-fonts_folder-renamed.jpg]

3. and then again fonts folder available. and that worked again as in 1
above

Paul

On 31 March 2011 19:21, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Hi,
>
> On 2011-03-30 23:24, Reinhard Kotucha wrote:
>> On 2011-03-30 at 19:57:07 +0100, Jonathan Kew wrote:
>>
>>  > IMO, it would be preferable to configure poppler (for the Windows
>>  > build) so that it uses the standard TrueType Times/Arial/Courier
>>  > fonts from the Windows fonts directory. It shouldn't be necessary
>>  > to bundle these fonts with the program.
>
> Good point (assuming that the standard TTFs are acceptable regarding
> style, metrics, etc.; though I assume they are, since they are already
> mentioned in the poppler sources).
>
>> I don't have Windows, hence I can't try myself, but TeXworks's
>> poppler-font-handler.patch contains stuff like:
>>
>> static struct {
>>      {"Times-Italic",          "n021023l.pfb", "timesi.ttf"},
>>      {"Times-Roman",           "n021003l.pfb", "times.ttf"},
>>
>> Maybe the TrueType fonts are used as fallback fonts already and
>> nothing has to be changed in the code, at least if poppler knows where
>> to look for them.
>>
>> Maybe someone could try under Windows to remove (or rename) the
>> "fonts" directory in order to find out whether the TrueType fonts are
>> found instead.
>
> I just checked. The only file that seems necessary for proper execution
> is d050000l.pfb (ZapfDingbat), since there doesn't seem to be a proper
> substitute available (in the poppler sources, wingdings.ttf is
> suggested, but according to Jonathan's patch this is wrong).
> For all others, the TTFs can be used (and are, if the .pfb files are
> absent).
> Can somebody shed some light on which other files should be kept
> (fonts.*, readmes, ...)?
> With your permission, Reinhard, (or that of whoever is relevant for
> this), I probably will commit that font directory to the repository with
> the relevant TL files if it indeed is just one or two files.
>
> For future reference, I've created a test document (see attachement)
> that uses all 14 base fonts without embedding them. I'll probably commit
> them to svn under some new testcase folder later.
>
>> If the "fonts" directory is removed and the manual pages are displayed
>> though, then obviously nothing has to be changed in the code.
>
> As Paul already pointed out, this whole font business was started by the
> missing Zapf Dingbat issue some time ago. So, completely removing the
> fonts folder is not an option, as that was added as a result of the
> missing font issue. On the other hand, most (all?) of the other fonts
> can probably be removed - if they would have been necessary, problems
> would almost certainly have occurred much earlier.
>
>> This would be fine because people then can still throw the Type1 fonts
>> into the "fonts" directory if they prefer Helvetica to Arial.
>
> Indeed.
>
> HTH
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110331/d827cacf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tw-Stefans-base14-fonts-with-Tw-fonts_folder-renamed.jpg
Type: image/jpeg
Size: 30085 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110331/d827cacf/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tw-Stefans-base14-fonts-with-Tw-fonts_folder.jpg
Type: image/jpeg
Size: 83155 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110331/d827cacf/attachment-0003.jpg>


More information about the texworks mailing list