mpv/sub
Philip Langdale db3754d8d6 osc: use custom symbols for window controls
I was recently informed that unicode has official symbols for
window controls, and I put together a change to use them, which
worked, as long as a suitable font was installed. However, it's
not that hard to get a normal system that lacks an appropriate
font, and libass wants to print warnings if the symbols aren't
in the default font, which will almost always be true.

So, I gave up and added the symbols to the custom osd font that
we already have. This ensures they are always available, and
that they are aligned consistently on all platforms.

I took the symbols from the `symbola` font, as this has a suitable
licence and the symbols look nice enough.

Symbola Licence:

    Fonts are free for any use; they may be opened, edited,
    modified, regenerated, packaged and redistributed.

Finally, as we now have access to an un-maximize symbol, I added
logic to use it when the window is maximized.
2019-12-11 13:53:10 -08:00
..
ass_mp.c ass_mp: reset packer when allocation fails 2019-11-02 14:42:36 +01:00
ass_mp.h ass_mp: change license to LGPL 2017-04-20 12:53:09 +02:00
dec_sub.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
dec_sub.h command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
draw_bmp.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
filter_sdh.c sub: recognize UTF-8 characters in SDH subtitle filter 2019-03-02 02:05:58 +01:00
img_convert.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c sub/lavc_conv: skip ReadOrder reset when subtitle decoder gets flushed 2019-09-21 22:02:17 +03:00
osd.c sub: make font provider user-selectable 2019-09-25 22:11:48 +02:00
osd.h sub: make font provider user-selectable 2019-09-25 22:11:48 +02:00
osd_dummy.c command: shorten long playlists on OSD 2017-01-26 18:24:53 +01:00
osd_font.otf osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osd_libass.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
osd_state.h options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
sd.h command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
sd_ass.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
sd_lavc.c sd_lavc: add a hack ontop of another hack to fix completely fucked file 2019-12-03 22:33:45 +01:00