From: halcanary Date: Mon, 26 Sep 2016 14:27:04 +0000 (-0700) Subject: Documentation: fix links X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~106^2~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75a171cf17d6f54bca56c19f2ffc484a9171fb43;p=platform%2Fupstream%2FlibSkiaSharp.git Documentation: fix links TBR= NOTRY=true Review-Url: https://codereview.chromium.org/2366403002 --- diff --git a/site/user/tips.md b/site/user/tips.md index 1101582..ec94db6 100644 --- a/site/user/tips.md +++ b/site/user/tips.md @@ -12,10 +12,8 @@ Tips & FAQ * * * - - -Gyp Options ------------ +Gyp Options +---------------------------------------- When running `sync-and-gyp`, the `GYP_DEFINES` environment variable can be used to change Skia’s compile-time settings, using a @@ -74,10 +72,10 @@ two different compilers: * * * - -Bitmap Subsetting ------------------ + +Bitmap Subsetting +----------------------------------------------------- Taking a subset of a bitmap is effectively free - no pixels are copied or memory is allocated. This allows Skia to offer an API that typically operates @@ -94,10 +92,8 @@ drawBitmapNine(): * * * - - -Capture a `.skp` file on a web page in Chromium ------------------------------------------------ +Capture a `.skp` file on a web page in Chromium +----------------------------------------------------------------------------- 1. Launch Chrome or Chromium with `--no-sandbox --enable-gpu-benchmarking` 2. Open the JS console (ctrl-shift-J) @@ -117,10 +113,8 @@ or use Skia's `SampleApp` to view it: * * * - - -Capture a `.mskp` file on a web page in Chromium ------------------------------------------------ +Capture a `.mskp` file on a web page in Chromium +------------------------------------------------------------------------------- Multipage Skia Picture files capture the commands sent to produce PDFs and printed documents. @@ -141,14 +135,12 @@ process it with `dm`. out/Release/dm --src mskp --mskps /tmp/filename.mskp -w /tmp \ --config pdf --verbose - ls -l /tmp/pdf/mskp/filename.mskp + ls -l /tmp/pdf/mskp/filename.mskp.pdf * * * - - -How to add hardware acceleration in Skia ----------------------------------------- +How to add hardware acceleration in Skia +-------------------------------------------------------------------------- There are two ways Skia takes advantage of specific hardware. @@ -167,10 +159,8 @@ There are two ways Skia takes advantage of specific hardware. * * * - - -Does Skia support Font hinting? -------------------------------- +Does Skia support Font hinting? +-------------------------------------------------------------- Skia has a built-in font cache, but it does not know how to actual render font files like TrueType into its cache. For that it relies on the platform to @@ -182,10 +172,8 @@ engines can easily be supported in a like manner. * * * - - -Does Skia shape text (kerning)? -------------------------------- +Does Skia shape text (kerning)? +--------------------------------------------------------- No. Skia provides interfaces to draw glyphs, but does not implement a text shaper. Skia's client's often use @@ -201,10 +189,8 @@ used to draw those glyphs. * * * - - -How do I add drop shadow on text? ---------------------------------- +How do I add drop shadow on text? +---------------------------------------------------------------