PDF files generated in the absence of peak labels load ok in Illustrator
10, but give a warning message indicating that a font is replaced
(Times-Roman -> Times New Roman, I believe). However, as soon as there
is a peak label in there, the PDF import routine in Illustrator refuses
to load the file. Interestingly, this can be circumvented if I manually
replace the occurrences of 'helvetica' in the PDF with 'times-roman'.
By the way, I also have trouble loading the CCPNMR generated PS files
into linux postscript programs (e.g. ghostview and inkscape).
Ironically, they do seem to 'place' into Illustrator files (with some
font replacements).
Patrick
Wayne Boucher wrote:
> Oh rats, I forgot, the 1.0.12 release nobbled the peak annotations to be
> Helvetica-10 in the C world (that is in the non-specific PDF code, hence
> me not noticing it in the log files). But as I mentioned, Helvetica and
> Times-Roman should be considered equally good in the eyes of the (Adobe)
> Lord.
>
> Wayne
>
> On Thu, 14 Dec 2006, Gary S. Thompson wrote:
>
>
>> Wayne Boucher wrote:
>>
>>
>>> Hello,
>>>
>>> Looking at the CVS logs I can't see any changes between 1.0.10 and 1.0.12
>>> to the PDF-specific parts of the code. But what is drawn will have no
>>> doubt changed slightly between those two releases, and that means the PDF
>>> that is output might be slightly different indirectly.
>>>
>>> Up to and through 1.0.12 the only font that was used in PostScript and PDF
>>> was Times-Roman.
>>>
>>>
>> I am afraid thats not quite true 1.0.12 seams to outputting ps and pdf
>> files with helvetica in them. If I grep for helvetica in an output ps
>> file it is there
>>
>> e.g. grep -i -A5 -B5 elvetica connnections-co-85-91pair.ps
>>
>> PS_graphics_restore
>> PS_graphics_save
>> 186.26 104.74 PS_translate
>> 365.49 0.00 39.93 279.89 PS_rectangle_clip
>> 0.00 0.00 0.00 PS_set_color
>> /Helvetica 12 PS_select_font
>> 0.15 0.15 0.15 PS_set_color
>> 383.45 101.41 387.21 105.17 PS_draw_line
>> 383.45 105.17 387.21 101.41 PS_draw_line
>> 388.15 106.11 0.38 0.37 (B91T) PS_text
>> 0.00 0.00 0.00 PS_set_color
>>
>>
>>
>>> In PDF you have to specify the font description
>>> explicitly for all fonts except 14 special cases (Times-Roman, Helvetica,
>>> Courier, and variants on those, and Symbol and ZapfDingbat), and for those
>>> 14 the PDF standard says they should be guaranteed to exist in the PDF
>>> viewer (or driver or whatever) so they do not need a description. Since
>>> Times-Roman and Helvetica are both special cases I'm not sure why you were
>>> getting those error messages, unless your acrobat cannot find the fonts
>>> for those special cases for some reason.
>>>
>>> In the next release we will have three fonts, Times-Roman, Courier and
>>> Helvetica, available. So the PDF will definitely be slightly different
>>> then.
>>>
>>> Wayne
>>>
>>>
>>>
>> anyway it definitley seems to be a problem with helvetica on our suse 10
>> boxes so I am going to try the same at home on ubuntu
>>
>> regards
>> gary
>>
>>
>>> On Thu, 14 Dec 2006, Gary S. Thompson wrote:
>>>
>>>
>>>
>>>
>>>> Dear developers
>>>> Since upgrading to 1.0.12 I have been having some problems with pdf
>>>> files, once I have printed to a pdf file when I open it in acrobat it
>>>>
>>>> 1. complains that the file is damaged and must repair it (which it does)
>>>> 2. complains 'Could not find a font in the resources dictionary - using
>>>> Helvetica instead'
>>>> 3. complains 'Cannot find or creat the font helvetica some characters
>>>> maynot display properly'
>>>> 4. displays the spectrum with bullets instead of assignments
>>>>
>>>> so basically, help, has something changed here since 1.0.10??
>>>>
>>>>
>>>> regards
>>>> gary
>>>>
>>>> --
>>>> -------------------------------------------------------------------
>>>> Dr Gary Thompson
>>>> Astbury Centre for Structural Molecular Biology,
>>>> University of Leeds, Astbury Building,
>>>> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
>>>> email: [log in to unmask] Fax +44-113-2331407
>>>> -------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>> .
>>>
>>>
>>>
>>>
>> --
>> -------------------------------------------------------------------
>> Dr Gary Thompson
>> Astbury Centre for Structural Molecular Biology,
>> University of Leeds, Astbury Building,
>> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
>> email: [log in to unmask] Fax +44-113-2331407
>> -------------------------------------------------------------------
>>
>>
|