ken wrote:
> Thank you. Can you please tell me how how does 'mTextZoom' being
> used?

In nsDocumentViewer?  It's not, really, except for the getter.  The 
point is that nsDocumentViewer::SetTextZoom calls 
nsPresContext::SetTextZoom.  Then you need to trace what that does, and 
what the nsPresContext mTextZoom is used for, of course.

> What is that being use to deterimed what is the font size to be
> painted for each text in the document?

I assume you mean which code actually gets the text zoom off the 
prescontext?  See 
http://mxr.mozilla.org/seamonkey/search?string=-%253ETextZoom%28&find=&findi=&filter=&tree=seamonkey
 
-- you want the nsStyleStruct callers, probably (and the code that calls 
them in nsRuleNode.cpp, etc).

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to