Hi all, I am coming back from the vacation. Thank you for your reply and I'm glad to see the discussions on the topic.
Thank Herbert and Tor that from your letters I have a deeper understanding on the characters, whose glyphs are different in different position. From the reference I see that in some complex scripts like the Arabic script, a special character displays differently in different position, so it has different kinds of glyph to present it. And in many other cases, some distortion is needed too. Hi Christian, What I got from your email is as follows and I sill have many questions. If there is any mistake please let me know:) 1. There are two things in the flash, definition and reference. 2. For the non complex scripts, there is a glyph table. There are three concepts in this area, they are glyph, font and charactor. I am not sure the relaionship betwen them. You said, >>> a glyph table that contains all glyphs for one font that is used in the >>> flash file. I think the non complex scripts, like 26 English charactors, displaying in one font that has 26 kinds of glyphs. And each charactor references the corresponding glyph(only one) as index when it needs. My question is :When is the table defined? Is there a table defined for the complex scripts too? 3. "a text runs" is the set of the characters which have the same formating. They can be depicted by the same kind of PolyPolygon, the same lines or the same point, I guess. The word "i" contians one glyph but it must be depicted by at least two Polygons, one is the line and another is the point on the line. I don't think the word "My" needs only one Polygon to present it, but the two charactors has the same kind of Polygons. 4. What's your opinion is that the basic PolyPolygons should be stored in the cache and not the glyphs of the charaters. The PolyPolygon and the flash id is defined when the PolyPolygon should be exported and it was not be exported before. The PolyPolygon and the flash id is stored together in the cache. But what's the meaning of flash in this area? 5. you said, >>> single glyphs would cache better then whole text runs But I think that what we discussed above is that we should cache the PolyPolygon not the whole text runs, so I cannot get what's you mean. 6.>>> Now that will give us a vector with one PolyPolygon for each glyph. For each glyph there is a vector, which contains all the elements of the PolyPolygon, such as the line and the point. We know that each glyph may need two or more Polygon to depict it. Then how many PolyPolygons will a vector contian, only one or more? >>> Now we can add a cache for each PolyPolygon in that vector. I can't catch it well. We call a cache for the vector or for each PolyPolygon(all of its elements)? 7. >>> Thats because the second "a" is translated so its position is after the first "a". What's the meaning of "translate" here? And how to decompose the translation from the PolyPolygon? 8. The new B2DPolyPolygon is much better than the old one PolyPolygon, but the old one is still used in the part of the export of the flash. >>> So another step that we could take is add export of B2DPolyPolygon to >>> the flash export, that would increase the rendering quality. Do you think this task is easy for me to begin with? And how to do this? I am not sure whether I expressed myself well. Looking forward to your reply. Thank you very much:) Regards, Fang FangYaqiong [EMAIL PROTECTED] 2007-02-27 Regards&Thanks! Tel:010-5802-2828 Ext.693 Beijing Redflag CH2000 Software Co., Ltd. Beijing Redflag CH2000 Software Co., Ltd.
