Changeset ea459d4 in mainline for uspace/lib/gfxfont/private/font.h


Ignore:
Timestamp:
2020-09-24T14:25:21Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
120031a5
Parents:
aaf962e6
git-author:
Jiri Svoboda <jiri@…> (2020-09-22 17:25:10)
git-committer:
Jiri Svoboda <jiri@…> (2020-09-24 14:25:21)
Message:

Reading typeface from TPF file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/private/font.h

    raaf962e6 rea459d4  
    5959        /** Containing typeface */
    6060        struct gfx_typeface *typeface;
     61        /** Containing font info */
     62        struct gfx_font_info *finfo;
    6163        /** Font metrics */
    6264        gfx_font_metrics_t metrics;
     
    8284        /** Font or @c NULL if font is not present in memory */
    8385        struct gfx_font *font;
     86        /** Font chunk from which font can be read */
     87        riff_rchunk_t fontck;
    8488};
    8589
    8690extern errno_t gfx_font_splice_at_glyph(gfx_font_t *, gfx_glyph_t *,
    8791    gfx_rect_t *);
     92extern errno_t gfx_font_info_load(gfx_typeface_t *, riff_rchunk_t *);
     93extern errno_t gfx_font_load(gfx_font_info_t *);
    8894extern errno_t gfx_font_save(gfx_font_info_t *, riffw_t *);
    8995
Note: See TracChangeset for help on using the changeset viewer.