Move the parse_*() functions in fonts.c and have them share tables with
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 6 Jan 2009 10:36:05 +0000 (10:36 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 6 Jan 2009 10:36:05 +0000 (10:36 +0000)
commit12762f0b6df9c0324929feb99fc80406c7501418
treebeb1bc9d9ff5a1f7f09d5419cfdec3d7348ef3db
parent3f5dba1eb77f18c976888ecfc502bf56c617201f
Move the parse_*() functions in fonts.c and have them share tables with

2009-01-06  Behdad Esfahbod  <behdad@gnome.org>

        * pango/fonts.c (find_field), (parse_field), (pango_parse_style),
        (pango_parse_variant), (pango_parse_weight), (pango_parse_stretch):
        Move the parse_*() functions in fonts.c and have them share tables
        with pango_font_description_to/from_string().

        * pango/pango-utils.c (parse_int), (pango_parse_enum):
        Accept integers in pango_parse_enum().

svn path=/trunk/; revision=2785
ChangeLog
pango/fonts.c
pango/pango-utils.c