diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-12-04 21:06:24 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-12-04 21:06:24 +0000 |
commit | d5a183e14d42560632a6aa270aede226215bb3d3 (patch) | |
tree | 31d7c6692a8267237ff3caa34fa5958e280ead24 /src/parse/font_face.h | |
parent | d153cb125a6a69e08a49c93f9774f86705aa9898 (diff) | |
download | libcss-d5a183e14d42560632a6aa270aede226215bb3d3.tar.gz libcss-d5a183e14d42560632a6aa270aede226215bb3d3.tar.bz2 |
@font-face support. Credit: James Montgomerie
Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range.
svn path=/trunk/libcss/; revision=13244
Diffstat (limited to 'src/parse/font_face.h')
-rw-r--r-- | src/parse/font_face.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/parse/font_face.h b/src/parse/font_face.h new file mode 100644 index 0000000..435380e --- /dev/null +++ b/src/parse/font_face.h @@ -0,0 +1,22 @@ +/* + * This file is part of LibCSS. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2011 Things Made Out Of Other Things Ltd. + * Written by James Montgomerie <jamie@th.ingsmadeoutofotherthin.gs> + */ + +#ifndef css_parse_font_face_h_ +#define css_parse_font_face_h_ + +#include <parserutils/utils/vector.h> + +#include "stylesheet.h" +#include "lex/lex.h" +#include "parse/language.h" + +css_error css__parse_font_descriptor(css_language *c, + const css_token *descriptor, const parserutils_vector *vector, + int *ctx, struct css_rule_font_face *rule); + +#endif |