bungeman
c4fba51ea6
Add Em test font.
...
This test font contains
☓ U+2613 SALTIRE
⬛ U+2B1B BLACK LARGE SQUARE
⬜ U+2B1C WHITE LARGE SQUARE
All at full EM size (with standard amount above and below the
baseline).
Review URL: https://codereview.chromium.org/1134153002
2015-05-29 08:42:21 -07:00
bungeman
41868fe562
Font variations.
...
Multiple Master and TrueType fonts support variation axes.
This implements back-end support for axes on platforms which
support it.
Committed: https://skia.googlesource.com/skia/+/05773ed30920c0214d1433c07cf6360a05476c97
Committed: https://skia.googlesource.com/skia/+/3489ee0f4fa34f124f9de090d12bdc2107d52aa9
Review URL: https://codereview.chromium.org/1027373002
2015-05-20 09:21:04 -07:00
robertphillips
465706820d
Revert of Font variations. (patchset #26 id:500001 of https://codereview.chromium.org/1027373002/ )
...
Reason for revert:
Appears to be breaking Linux ARM bots:
FAILED:
/usr/local/google/home/mosaic-role/slave/repo_clients/chromium_tot/chromium/src/../../prebuilt/toolchain/armv7a/bin/armv7a-cros-linux-gnueabi-g++
... -o obj/third_party/skia/src/ports/skia_library.SkFontHost_FreeType.o
../../third_party/skia/src/ports/SkFontHost_FreeType.cpp:37:31: fatal error:
freetype/ftmm.h: No such file or directory
#include FT_MULTIPLE_MASTERS_H
^
compilation terminated.
Original issue's description:
> Font variations.
>
> Multiple Master and TrueType fonts support variation axes.
> This implements back-end support for axes on platforms which
> support it.
>
> Committed: https://skia.googlesource.com/skia/+/05773ed30920c0214d1433c07cf6360a05476c97
>
> Committed: https://skia.googlesource.com/skia/+/3489ee0f4fa34f124f9de090d12bdc2107d52aa9
TBR=reed@google.com ,mtklein@google.com,djsollen@google.com,halcanary@google.com,bungeman@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1139123008
2015-05-15 11:30:41 -07:00
scroggo
9d214295e4
Add a test for decoding a gif with sampleSize 4.
...
Prior to https://codereview.chromium.org/1085253002/ , this would crash.
Only happens with interlaced gif images with an odd height. (Maybe
there are more restrictions?)
Test image provided by zoran.jovanovic@sonymobile.com for checking in.
Add include before includes.
Review URL: https://codereview.chromium.org/1091053002
2015-05-14 14:44:14 -07:00
bungeman
3489ee0f4f
Font variations.
...
Multiple Master and TrueType fonts support variation axes.
This implements back-end support for axes on platforms which
support it.
Committed: https://skia.googlesource.com/skia/+/05773ed30920c0214d1433c07cf6360a05476c97
Review URL: https://codereview.chromium.org/1027373002
2015-05-14 14:18:03 -07:00
bungeman
5ae1312c9f
Revert of Font variations. (patchset #21 id:400001 of https://codereview.chromium.org/1027373002/ )
...
Reason for revert:
Mac failing to build due to CFNumberType in Chromium Canary.
Original issue's description:
> Font variations.
>
> Multiple Master and TrueType fonts support variation axes.
> This implements back-end support for axes on platforms which
> support it.
>
> Committed: https://skia.googlesource.com/skia/+/05773ed30920c0214d1433c07cf6360a05476c97
TBR=reed@google.com ,mtklein@google.com,djsollen@google.com,halcanary@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1128913008
2015-05-13 12:16:41 -07:00
bungeman
05773ed309
Font variations.
...
Multiple Master and TrueType fonts support variation axes.
This implements back-end support for axes on platforms which
support it.
Review URL: https://codereview.chromium.org/1027373002
2015-05-13 10:57:10 -07:00
bungeman
c0727d117e
Trim whitespace from parsed filename in Android v21.
...
The entire text content of the 'font' element is currently used as the
file name. This wasn't an issue in earlier versions, as the 'file'
element was dedicated to only containing the file name. The new 'font'
element also contains a number of attributes and potentially other tags.
This means that a 'font' element can become quite long, making it
desireable to be able to split it across multiple lines.
However, splitting the 'font' element across multiple lines is currently
difficult and awkward as any whitespace outside of tags will be
considered part of the file name. This change means that any leading or
trailing whitespace will not be considered part of the file name.
This only applies to v21 and later files, so while this restricts font
file names from beginning and ending with whitespace, it is unlikely to
break any users in practice. It is probably also undesireable to have
font files with names that begin or end with whitespace in any event.
Review URL: https://codereview.chromium.org/1125413003
2015-05-08 08:31:54 -07:00
bungeman
3ffa126066
Move resource fonts to common location.
...
Move resource fonts to resources/fonts, add a destortable font for
testing, and clean up how the tests create fonts from resources.
R=joshualitt@google.com
Review URL: https://codereview.chromium.org/1120823002
2015-04-30 17:12:58 -04:00
msarett
4b17fa353e
Ensure that we create a NULL codec for images with zero dimensions
...
BUG=skia:3534
BUG=skia:3257
Review URL: https://codereview.chromium.org/1091043003
2015-04-23 08:53:39 -07:00
bungeman
b1e1472bd5
Add test font for large glyphs.
...
This font contains two glyphs, one for 'a' and one for 'A'. The em size
is 128, and the 'a' fits in this. The big 'A', however, is ~3000 in
in each direction.
Review URL: https://codereview.chromium.org/1016153002
2015-04-02 12:18:38 -07:00
msarett
68b204e61c
Ico test with embedded png
...
BUG=skia:3257
Review URL: https://codereview.chromium.org/1054673002
2015-04-01 12:09:22 -07:00
halcanary
a096d7a6d0
SkCodec: add wbmp class
...
Review URL: https://codereview.chromium.org/1006583005
2015-03-27 12:16:53 -07:00
msarett
6e8f9033bb
Ico security issues fix
...
BUG=skia:3401
BUG=skia:3426
BUG=skia:3441
Review URL: https://codereview.chromium.org/996173005
2015-03-13 08:07:01 -07:00
bungeman
c3c694342a
Fix append_fallback_font_families_for_locale.
...
The language was being set to garbage, now set to part of the file name.
Add a test to ensure we continue to parse fallback directories correctly.
BUG=chromium:422180
Review URL: https://codereview.chromium.org/912053003
2015-02-11 07:18:51 -08:00
Thiago Farina
4c93a12688
Fix references to https://sites.google.com/site/skiadocs/ .
...
Point them to their equivalent in https://skia.org .
BUG=None
R=hcm@google.com , jcgregorio@google.com
NOTRY=true
Review URL: https://codereview.chromium.org/856353004
2015-02-03 13:12:54 -02:00
halcanary
d476a176b7
Remove PDF JPEG shortcut, since it fails on grayscale JPEGs.
...
BUG=436079
Review URL: https://codereview.chromium.org/767343002
2014-12-02 06:37:21 -08:00
scroggo
b61e206138
Add tests (and fix!) for known bad ICO files.
...
We previously saw crashes decoding bad ICO files. Add tests for
known bad files.
While testing, I learned that one of them still crashes. Check for
large offset and size separately to fix the crash.
BUG=skia:2878
Review URL: https://codereview.chromium.org/712123002
2014-11-10 13:12:25 -08:00
reed
7b8646669f
update slides
...
BUG=skia:
Review URL: https://codereview.chromium.org/686853005
2014-11-04 13:24:47 -08:00
reed
36c9c11ed9
add more typeface methods to lua
...
BUG=skia:
NOTRY=True
TBR=
Review URL: https://codereview.chromium.org/697053004
2014-11-04 10:58:42 -08:00
reed
bb8a0ababa
update slide content
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/698563004
2014-11-03 22:32:08 -08:00
reed
1b6ab4417e
add textblobs to lua
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/688363003
2014-11-03 19:55:41 -08:00
reed
9e233b2082
add bullets to slides
...
BUG=skia:
TBR=
NOTRY=True
Review URL: https://codereview.chromium.org/699723002
2014-11-03 12:18:24 -08:00
reed
de330ffc56
add code-style for slides
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/697923002
2014-11-02 19:19:34 -08:00
reed
07dada770b
break transitions into separate file
...
BUG=skia:
TBR=
NOTRY=True
Review URL: https://codereview.chromium.org/692543004
2014-10-29 20:36:05 -07:00
halcanary
eb06588dfc
Replace color_wheel.* with beautiful versions I made with Skia.
...
NOTRY=true
Review URL: https://codereview.chromium.org/683113002
2014-10-28 06:33:07 -07:00
reed
86217d831d
add saveLayer to lua
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/679903002
2014-10-25 20:44:40 -07:00
Hal Canary
42d1db2ccc
add color wheel to validate decoding colors
...
BUG=skia:3061
R=mtklein@google.com
Review URL: https://codereview.chromium.org/681433002
2014-10-24 12:18:46 -04:00
reed
c7663981c9
use - and = to zoom text in slides
...
BUG=skia:
TBR=
NOTRY=True
Review URL: https://codereview.chromium.org/668023002
2014-10-21 10:46:01 -07:00
reed
9fbc3f31c0
add gradients and drawPaint to lua
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/667803004
2014-10-21 07:12:58 -07:00
reed
468b1815d2
add blurimagefilter to lua
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/663993002
2014-10-19 11:42:54 -07:00
reed
bdc49ae0d4
create and modify matrices in lua
...
BUG=skia:
Review URL: https://codereview.chromium.org/651823004
2014-10-14 09:34:52 -07:00
reed
d2e7dfba21
parse outline to generate slides
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/643113005
2014-10-13 19:43:17 -07:00
reed
3893b74638
experimental parser
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/651023002
2014-10-13 13:53:49 -07:00
reed
96affcde22
add pictures to lua
...
BUG=skia:
Review URL: https://codereview.chromium.org/650263002
2014-10-13 12:38:04 -07:00
reed
0d76b95ae0
add fade_slide transition to lua slides
...
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/646613004
2014-10-12 19:05:52 -07:00
reed
f355df5851
add canvas:clear to lua
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/648083002
2014-10-12 12:18:40 -07:00
reed
09a1d6751c
add key handlers to lua
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/652473002
2014-10-11 13:13:11 -07:00
reed
18ea777638
allow for lua click handlers
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/649013002
2014-10-11 11:28:07 -07:00
reed
09445a4f7f
move test for lua into separate resource file
...
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/645283002
2014-10-10 20:31:24 -07:00
Hal Canary
aca14f41c8
Add resources/mandrill_512_q075.jpg
...
convert resources/mandrill_512.png ppm:- | cjpeg -quality 75 > resources/mandrill_512_q075.jpg
Motivation: We need JPEG images for testing PDF. (e.g. http://crrev.com/515493003 )
R=djsollen@google.com
Review URL: https://codereview.chromium.org/508173002
2014-08-27 13:44:34 -04:00
Robert Phillips
ec989ba3b5
Add mandill_128.r11.ktx to resources
...
Review URL: https://codereview.chromium.org/457693002
2014-08-08 11:40:08 -04:00
Robert Phillips
2dd85a3eb2
Remove mandrill_128.r11.ktx from resources directory
...
Review URL: https://codereview.chromium.org/449503003
2014-08-07 10:34:03 -04:00
Robert Phillips
c72e870a35
Added mandrill_128.r11.ktx to resources
...
Review URL: https://codereview.chromium.org/443303005
2014-08-07 10:06:24 -04:00
Robert Phillips
4297a51326
Add ASTC resource files
...
Review URL: https://codereview.chromium.org/442363003
2014-08-06 10:50:53 -04:00
tomhudson
f79673bbae
Test and generalize font configuration parser
...
Add a basic unit test for the Android font configuration parser.
Add a check for the new LMP file format; on detection, switch to a new
(as-yet unwritten) parser.
R=bungeman@google.com , djsollen@google.com , tomhudson@google.com
Author: tomhudson@chromium.org
Review URL: https://codereview.chromium.org/439813002
2014-08-05 06:36:14 -07:00
Robert Phillips
9d14b6d161
Adding resource files
...
The ktx file is to test the new ktx reader
The pkm shrinks the size of the pkm test file
TBR=jvanverth@google.com
Review URL: https://codereview.chromium.org/312563002
2014-06-02 15:18:27 -04:00
commit-bot@chromium.org
300c4293f5
add box image to resources; landing separately to avoid issues with
...
trybots for the code that uses this
BUG=
R=epoger@google.com
TBR=epoger
NOTRY=True
Author: humper@google.com
Review URL: https://codereview.chromium.org/303713002
git-svn-id: http://skia.googlecode.com/svn/trunk@14908 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-27 21:15:35 +00:00
epoger@google.com
f3b1eb4ea2
Manual SVN revert of https://code.google.com/p/skia/source/detail?r=14905
...
git-svn-id: http://skia.googlecode.com/svn/trunk@14907 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-27 21:12:42 +00:00
commit-bot@chromium.org
44f41293ac
floating point scale factors for images
...
New version of https://codereview.chromium.org/298243003/ made to deal with binary file being lost.
BUG=
TBR=bsalomon
NOTRY=true
Author: humper@google.com
Review URL: https://codereview.chromium.org/307553005
git-svn-id: http://skia.googlecode.com/svn/trunk@14905 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-27 20:54:04 +00:00