commit | 2163afbf35044f59dbf449254e65b8c9feb6cdeb | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Thu May 27 14:04:15 2010 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu May 27 14:04:15 2010 -0400 |
tree | a300507261ab93048ada8a4e01f88a6fdc290da5 | |
parent | 226faa58f4e23eb655bebb0eff7206a3024c8d55 [diff] [blame] |
Add note about UTF-8 decoder
diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index c20de77..a393b6b 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc
@@ -607,6 +607,8 @@ uint8_t c = *text; unsigned int mask, len; + /* TODO check for overlong sequences? also: optimize? */ + UTF8_COMPUTE (c, mask, len); if (unlikely (!len || (unsigned int) (end - text) < len)) { *unicode = -1;