Fix glyph selection for CID fonts that don't actually have CID font files.
Update loading bar during onprogress of range requests
Only update progress bar if it increases
Test for issue #2881
Fix for issue #2881