Changeset 26653c9 in mainline for uspace/lib/draw


Ignore:
Timestamp:
2020-10-22T09:50:18Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dcfd422
Parents:
70814b8e
git-author:
Jiri Svoboda <jiri@…> (2020-10-22 17:50:34)
git-committer:
Jiri Svoboda <jiri@…> (2020-10-22 09:50:18)
Message:

Move fixed width font to its own library, libfbfont

We've actually three copies, one in kernel/, one in output server
(not used anymorei, removed), one in libdraw (now moved to separate library
libfbfont). So we are left with two copies, that could be coalesced
somehow in the future.

Location:
uspace/lib/draw
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/font/embedded.c

    r70814b8e r26653c9  
    4242#include <draw/font.h>
    4343#include <draw/drawctx.h>
     44#include <fbfont/font-8x16.h>
    4445
    4546static errno_t fde_resolve_glyph(void *unused, const char32_t chr,
  • uspace/lib/draw/include/draw/gfx.h

    r70814b8e r26653c9  
    5353extern uint8_t cursor_mask[];
    5454
    55 extern uint16_t fb_font_glyph(const char32_t, bool *);
    56 extern uint8_t fb_font[FONT_GLYPHS][FONT_SCANLINES];
    57 
    5855#endif
    5956
  • uspace/lib/draw/meson.build

    r70814b8e r26653c9  
    2727#
    2828
    29 deps = [ 'softrend' , 'compress' ]
     29deps = [ 'softrend' , 'compress', 'fbfont' ]
    3030src = files(
    3131        'codec/tga.c',
     
    3636        'font/bitmap_backend.c',
    3737        'font/pcf.c',
    38         'gfx/font-8x16.c',
    3938        'gfx/cursor-11x18.c',
    4039        'drawctx.c',
Note: See TracChangeset for help on using the changeset viewer.