Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/src/font.c

    rfe40b67 r5c27e77  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    546546        metrics->descent = uint16_t_le2host(tmetrics.descent);
    547547        metrics->leading = uint16_t_le2host(tmetrics.leading);
     548        metrics->underline_y0 = uint16_t_le2host(tmetrics.underline_y0);
     549        metrics->underline_y1 = uint16_t_le2host(tmetrics.underline_y1);
    548550        return EOK;
    549551}
     
    565567        tmetrics.descent = host2uint16_t_le(metrics->descent);
    566568        tmetrics.leading = host2uint16_t_le(metrics->leading);
     569        tmetrics.underline_y0 = host2uint16_t_le(metrics->underline_y0);
     570        tmetrics.underline_y1 = host2uint16_t_le(metrics->underline_y1);
    567571
    568572        rc = riff_wchunk_start(riffw, CKID_fmtr, &mtrck);
Note: See TracChangeset for help on using the changeset viewer.