[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

RE: [XaraXtreme-dev] Substituted fonts and Bug 1057



> > I was assuming the same thing. Just the substituted fonts 
> from /that/ 
> > document.
> 
> But how do we get them? I am not aware of any data structures 
> that would allow us to find out which fonts are substituted 
> in a particular document. I do not think we can afford to 
> scan the complete document each time the dropdown list is 
> opened because this is probably too slow, so we need to add 
> an appropriate data structure to the document class to keep 
> track of substituted fonts.

How does the Name gallery do it? Does that help? I think it retains a
list of all names of fonts used in the current document (not sure how or
when it does the scan to get this data though).

Charles