+ bool end = found && list_[i].pos() == pos;
+
+ if (!begin && !end) {
+ // The general case: The block is splitted into 3 blocks
+ list_.insert(list_.begin() + i,
+ FontTable(pos - 1, list_[i].font()));
+ list_.insert(list_.begin() + i + 1,
+ FontTable(pos, font));
+ return;
+ }
+
+ if (begin && end) {
+ // A single char block