Hi,

On 18.02.12, André Wobst wrote:
> Hi Jörg,
> 
> Am 17.02.2012 um 10:57 schrieb Joerg Lehmann:
> >> In the end, I do not see why the registry -- it is not a general
> >> registry but a PSregistry -- should not contain PS-specific code like
> >> the DSC. We already have similar code in PSdefinition.
> > 
> > Simply because it is too specific. We could, however,
> > add more generic code to allow for adding sections in the first DSC
> > section.
> 
> 
> While I do see some problems in the Font-DSCs Michael just added, I do 
> support to add DSCs via the registry. The reason is, that DSCs are (to some 
> extend) resource descriptions collected from all the components of the file. 
> There are DSCs (we do not yet support), which are crucial. I remember one 
> (old) use-case where I had to add DSCs, which had been collected from 
> included EPS files (this was related to spot colors). At that point in time 
> we didn't had such a fancy infrastructure like the registry and in the end of 
> the day my solution was to add another 
> "walk-through-all-the-content-to-collect-some-data" like what we're did for 
> the bounding box.

But that is pretty much what I meant with "more generic code". 

> Please consider the font DSCs as a initial and specific solution for a
> general DSC-handling which surely should be handled via the registry.
> The details of this functionality has to be developed, but in general
> (to my current understanding) it is correct to use the registry here.

Ok. I just did not like the very specific usage - but that was mainly a
question of taste.

> (Still I think the font-DSCs Michael proposed in this thread are wrong, but 
> this is a different issue.)

I mainly saw the problem that we need to also include all resources used
in EPS files we include ourselves. This requires parsing the DSC of
those files to some degree. At the time when I wrote the PS output code,
this seemed some way to go and that's why I only marked the omission of
the corresponding DSCs in a comment.

Cheers,

        Jörg

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to