Sat, 05 Dec 2020 10:32:49 +0100
Motif: enable xft text rendering by default
ui/motif/toolkit.c | file | annotate | diff | comparison | revisions |
--- a/ui/motif/toolkit.c Sat Nov 14 21:11:35 2020 +0100 +++ b/ui/motif/toolkit.c Sat Dec 05 10:32:49 2020 +0100 @@ -57,31 +57,7 @@ int event_pipe[2]; -///* -static String fallback[] = { - //"*fontList: -dt-interface system-medium-r-normal-s*utf*:", - "*renderTable: rt", - "*rt*fontType: FONT_IS_FONTSET", - "*rt*fontName: -dt-interface system-medium-r-normal-s*utf*:," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-1," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-10," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-15," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-2," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-3," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-4," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-5," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-iso8859-9," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-e," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-r," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-ru," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-u," - "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-uni," - "-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208", - "*rt*fontSize: 10", - NULL -}; -//*/ -/* + static String fallback[] = { //"*fontList: -dt-interface system-medium-r-normal-s*utf*:", "*text_area*renderTable: f1", @@ -90,11 +66,10 @@ "*f1*fontSize: 11", "*renderTable: rt", "*rt*fontType: FONT_IS_XFT", - "*rt*fontName: Cantarell", + "*rt*fontName: Sans", "*rt*fontSize: 11", NULL }; -//*/ void input_proc(XtPointer data, int *source, XtInputId *iid) { void *ptr;