Closed Bug 185935 Opened 22 years ago Closed 19 years ago

improve Type8 subset management

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Louie.Zhao, Assigned: Louie.Zhao)

References

Details

nsPSFontGenerator::AddToSubset use nsString to manage the subset of Type8 font. Using hashtable or ccmap is more prefered.
bstell, I look into the usage of CCMap and found it's propriate for "creat 1 time and use many times". But in nsPSFontGenerator, the subset will continue to grow, which mean we need to build the CCMap again and again. I am not sure whether it's more efficient. bstell, I am also not sure whether hashtable's efficiency is much higher than nsString in this case. If the difference is not much. I think use nsString is ok. How do you think?
a hash table would be much faster
I believe this bug is obsolete. The checkin for bug 234182 removed all of the so-called type8 code.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.