Closed Bug 365080 Opened 18 years ago Closed 13 years ago

Cache pitch and family info somewhere

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: smontagu, Unassigned)

References

Details

Spun off from bug 353756: Comment #4 Stuart Parmenter Do you know how expensive GetTextMetrics is? I worry that it might be somewhat expensive... We could cache tmPitchAndFamily in the FontEntry at startup, although we then need a better way to get that from the textrun/font. hm. we can do that later though... Comment #5 Simon Montagu How about adding a pitchAndFamily to gfxFont::Metrics? It seems like a useful thing to have around...
taking. this can be fixed by bug 366664.
Assignee: nobody → masayuki
Depends on: 366664
I'm resetting bugs which are assigned to me but I'm not working on them and I don't have plan for fixing them in near future.
Assignee: masayuki → nobody
-- From bug 366664, comment 20: This is obsolete because thebes code was redesigned after 1.9.0, so, this bug doesn't fit [with] current code. -- I suspect this is the same with this bug. If I am incorrect, please feel free to reopen.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.