Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xless
xless-1.7-fonts.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xless-1.7-fonts.diff of Package xless
--- XLess.ad +++ XLess.ad @@ -1,8 +1,8 @@ !$Header: /usr/sww/share/src/X11R6/local/applications/xless-1.5/RCS/XLess.ad,v 1.8 1994/06/01 00:46:29 dglo Exp $ XLess*standardFont: fixed -XLess*textFont: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1 -XLess*labelFont: -adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-1 +XLess*textFont: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-* +XLess*labelFont: -adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-* XLess*buttonFont: -adobe-new century schoolbook-medium-r-normal--12-120-75-75-p-*-iso8859-1 XLess*standardCur: left_ptr XLess*dialogCur: center_ptr --- main.c +++ main.c @@ -22,6 +22,7 @@ */ #include <stdio.h> +#include <locale.h> #include <X11/X.h> #include <X11/Xos.h> @@ -215,6 +216,8 @@ } #endif + setlocale(LC_CTYPE, ""); + /* save program name */ if ((progname = strrchr(argv[0], '/'))) progname++; --- xless.h +++ xless.h @@ -84,8 +84,8 @@ #define STANDARDCUR "left_ptr" #define STANDARDFONT "fixed" -#define TEXTFONT "-adobe-courier-medium-r-normal--12-120-75-75-m-*-iso8859-1" -#define LABELFONT "-adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-1" +#define TEXTFONT "-adobe-courier-medium-r-normal--12-120-75-75-m-*-iso8859-*" +#define LABELFONT "-adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-*" #define BUTTONFONT "-adobe-new century schoolbook-medium-r-normal--12-120-75-75-p-*-iso8859-1" /* Typedefs */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor