summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-04-27 13:53:13 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-04-27 14:05:06 (GMT)
commit346b680ab51776e6660df635b0921637f727cc75 (patch)
tree0c8d206967b87f1c9a0f15490dd031f3676d2989 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parent939fdb8f03b998996e532cb89c8e522565c1aecc (diff)
downloadQt-346b680ab51776e6660df635b0921637f727cc75.zip
Qt-346b680ab51776e6660df635b0921637f727cc75.tar.gz
Qt-346b680ab51776e6660df635b0921637f727cc75.tar.bz2
Fix crash when CoreText fails to shape text for us
As a fallback we assume one glyph per character and manually build a list of invalid glyphs with zero advance. Reviewed-and-inspired-by: Simon Hausmann
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions