Skip to content

Commit

Permalink
[font] fix space position and remove unsed fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpoelen committed Jan 26, 2024
1 parent 41a0406 commit 93d020a
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 1 deletion.
Binary file removed sys/share/rdpproxy/dejavu_12.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_13.rbf2
Binary file not shown.
Binary file modified sys/share/rdpproxy/dejavu_14.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_16.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_18.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_20.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_24.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_32.rbf2
Binary file not shown.
Binary file removed sys/share/rdpproxy/dejavu_48.rbf2
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/font_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_glyph_info(char: str) -> GlyphInfo:
if not bbox:
# rdesktop require non empty data for glyph
# create a transparent image with height=1
y = y2 - y1 if y2 - y1 else y2
y = 0
bbox = (x1, y - 1, x2, y)
pixels = b'0' * (x2 * y2)
else:
Expand Down

0 comments on commit 93d020a

Please sign in to comment.