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.

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.

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

Best,


André

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
   / \ \    / )   [email protected], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to