mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-11 13:29:49 +00:00
05578bfcb6
This was causing to parse a single space as an empty control word with length 0, which was the source of several crashes. Example: \f0\fbidi \fcharset0 --------^ font index is 0, font family is bidi but when parsing charset we were assuming control word was '' instead of 'charset0'. This only fixes the crashes, the parseFontTable function works quite awful right now.
42 KiB
42 KiB