Go to file
bungeman 22edc8310c Fix int16_t for glyphs, const glyphs, and clarify glyph loop.
Several places in the PDF code are using int16_t for glyphs. With
newer NotoSans fonts, all possible glyph ids are being used, so this
can lead to problems.

The PDF glyphs from text code returns the text for the glyphs if the
encoding is for glyphs. However, it returns this using an unsafe const
cast which is hiding possible bugs and preventing correct use of const
in other places.

The way the glyph loop in SkPDFDevice::drawPosText is written uses a
'--i' in the loop, which makes it appear this can loop forever. I don't
believe it can, but it is an unecessary code folding. We should also at
least assert the forward progress correctness here.

Review URL: https://codereview.chromium.org/626613002
2014-10-03 07:55:58 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Save/Restore around bench runs. 2014-10-02 13:03:58 -07:00
debugger Introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)" 2014-09-22 07:29:03 -07:00
dm Handle getMemoryBase returning NULL in WriteTask. 2014-10-02 13:39:00 -07:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations Don't turn on dither for saveLayers which have no paint 2014-10-03 06:53:04 -07:00
experimental Update webtry setup docs to reflect new installation procedure 2014-10-02 10:37:14 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Reduce overdraw in MultiPictureDraw Sierpinski GM 2014-10-03 07:29:20 -07:00
gyp Add SkCachedData and use it for SkMipMap 2014-10-02 13:47:08 -07:00
include Add isSingleComponent bool to getConstantColorComponent 2014-10-03 06:24:12 -07:00
platform_tools Make -d x86 have the default GPU cache size. 2014-09-09 12:07:05 -07:00
resources Add resources/mandrill_512_q075.jpg 2014-08-27 13:44:34 -04:00
samplecode Revert of GrContext::copyTexture->GrContext::copySurface. Add a flush writes pixel ops flag. (patchset #3 id:40001 of https://codereview.chromium.org/622663002/) 2014-10-02 11:23:04 -07:00
src Fix int16_t for glyphs, const glyphs, and clarify glyph loop. 2014-10-03 07:55:58 -07:00
tests Add isSingleComponent bool to getConstantColorComponent 2014-10-03 06:24:12 -07:00
third_party "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
tools Introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)" 2014-09-22 07:29:03 -07:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore Refactored frontend for the rebaseline server. 2014-09-05 13:51:24 -07:00
AUTHORS Always disable the scissor test before BlitFrameBuffer 2014-09-16 06:24:58 -07:00
codereview.settings Add Project to skia 2014-06-20 09:39:15 -07:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Adding myself to comitters 2014-09-16 11:03:39 -07:00
DEPS rebaseline_server: allow users to generate SKP diff patches on a shared instance 2014-08-20 08:00:28 -07:00
Doxyfile delete no-longer-used update-doxygen.sh 2014-05-15 14:41:00 +00:00
gyp_skia allow caller to override the default output directory for gyp 2014-09-29 11:42:25 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
make.py Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
Makefile Update LSAN suppressions. 2014-08-29 07:55:35 -07:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py PRESUBMIT should only check owners for the top level include directory 2014-08-26 14:00:55 -07:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SKP_VERSION Update SKP version to 115 2014-10-02 21:25:20 -07:00
whitespace.txt Whitespace change to test Skia's CQ 2014-10-01 09:29:17 -07:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home