equal
deleted
inserted
replaced
212 |
212 |
213 /* This is almost the same as the method above, except it takes a |
213 /* This is almost the same as the method above, except it takes a |
214 * char which means it may include undecoded surrogate pairs. |
214 * char which means it may include undecoded surrogate pairs. |
215 * The distinction is made so that code which needs to identify all |
215 * The distinction is made so that code which needs to identify all |
216 * cases in which we do not have a simple mapping from |
216 * cases in which we do not have a simple mapping from |
217 * char->unicode character->glyph can be be identified. |
217 * char->unicode character->glyph can be identified. |
218 * For example measurement cannot simply sum advances of 'chars', |
218 * For example measurement cannot simply sum advances of 'chars', |
219 * the caret in editable text cannot advance one 'char' at a time, etc. |
219 * the caret in editable text cannot advance one 'char' at a time, etc. |
220 * These callers really are asking for more than whether 'layout' |
220 * These callers really are asking for more than whether 'layout' |
221 * needs to be run, they need to know if they can assume 1->1 |
221 * needs to be run, they need to know if they can assume 1->1 |
222 * char->glyph mapping. |
222 * char->glyph mapping. |