diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-09-13 05:19:36 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-09-13 05:19:36 +0300 |
commit | 0e63b6f673544a52078da0981a245d6a03ab9dbd (patch) | |
tree | ebddc7cdd2b397fd8e8c108443a5247618d486f6 /tests/sanitize_color.tex | |
parent | 7ae4943ae02f085a8826258bec3a654e830776ac (diff) | |
download | luaotfload-0e63b6f673544a52078da0981a245d6a03ab9dbd.tar.gz |
Sanitize color before attempting to use it
Right now it just checks the number if fields, may be we should check if
it is a valid hex color value as well.
Diffstat (limited to 'tests/sanitize_color.tex')
-rw-r--r-- | tests/sanitize_color.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/sanitize_color.tex b/tests/sanitize_color.tex new file mode 100644 index 0000000..fe95d37 --- /dev/null +++ b/tests/sanitize_color.tex @@ -0,0 +1,8 @@ +\input luaotfload.sty +\font\testa={name:Latin Modern Roman:color=0000ff99f} at 10pt +\font\testb={name:Latin Modern Roman:color=0000ff9} at 10pt +\font\testc={name:Latin Modern Roman:color=0000f} at 10pt +\testa test\par +\testb test\par +\testc test\par +\bye |