OLD | NEW |
1 Tips & FAQ | 1 Tips & FAQ |
2 ========== | 2 ========== |
3 | 3 |
4 Tips and Tricks | 4 Tips and Tricks |
5 --------------- | 5 --------------- |
6 | 6 |
7 <span id="bitmap-subsetting"></span> | 7 <span id="bitmap-subsetting"></span> |
8 | 8 |
9 ### Bitmap Subsetting | 9 ### Bitmap Subsetting |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 bin/sync-and-gyp | 38 bin/sync-and-gyp |
39 ninja -C out/Release debugger dm SampleApp | 39 ninja -C out/Release debugger dm SampleApp |
40 out/Release/debugger /tmp/layer_0.skp & | 40 out/Release/debugger /tmp/layer_0.skp & |
41 | 41 |
42 out/Release/dm --src skp --skps /tmp/layer_0.skp -w /tmp \ | 42 out/Release/dm --src skp --skps /tmp/layer_0.skp -w /tmp \ |
43 --config 8888 gpu pdf --verbose | 43 --config 8888 gpu pdf --verbose |
44 ls -l /tmp/*/skp/layer_0.skp.* | 44 ls -l /tmp/*/skp/layer_0.skp.* |
45 | 45 |
46 out/Release/SampleApp --picture /tmp/layer_0.skp | 46 out/Release/SampleApp --picture /tmp/layer_0.skp |
47 # On MacOS, SampleApp is a bundle: | |
48 open out/Release/SampleApp.app --args --picture /tmp/layer_0.skp | |
49 | 47 |
50 * * * | 48 * * * |
51 | 49 |
52 FAQ | 50 FAQ |
53 --- | 51 --- |
54 | 52 |
55 <span id="hw-acceleration"></span> | 53 <span id="hw-acceleration"></span> |
56 | 54 |
57 ### Does Skia support HW acceleration? | 55 ### Does Skia support HW acceleration? |
58 | 56 |
(...skipping 18 matching lines...) Expand all Loading... |
77 ### Does Skia support Font hinting? | 75 ### Does Skia support Font hinting? |
78 | 76 |
79 Skia has a built-in font cache, but it does not know how to actual render font | 77 Skia has a built-in font cache, but it does not know how to actual render font |
80 files like TrueType? into its cache. For that it relies on the platform to | 78 files like TrueType? into its cache. For that it relies on the platform to |
81 supply an instance of SkScalerContext?. This is Skia's abstract interface for | 79 supply an instance of SkScalerContext?. This is Skia's abstract interface for |
82 communicating with a font scaler engine. In src/ports you can see support | 80 communicating with a font scaler engine. In src/ports you can see support |
83 files for FreeType?, Mac OS X, and Windows GDI font engines. Other font | 81 files for FreeType?, Mac OS X, and Windows GDI font engines. Other font |
84 engines can easily be supported in a like manner. | 82 engines can easily be supported in a like manner. |
85 | 83 |
86 | 84 |
OLD | NEW |