[Y-devel] startY problems
Seth E. Randall natasha at acm.org
Fri Feb 20 04:20:58 GMT 2004
If you're interested, I've attached the patch I use. It changes all the
fonts to Luxi Sans which (on my distro at least) comes with XFree. I
don't think there's a way to chose them yet though.
Kristopher Matthews wrote:
>>You need the impact font from the MS Core True Type Fonts, look at
>>https://corefonts.sf.net for information on how to install them under linux.
>
>
> Please allow my erm, rant?, for being somewhat anal, but.. WHY?! Okkkay, I
> can understand requiring a font [in development code], but.. A Microsoft
> font? How can we be sure you're not a softie out to screw over the OSS
> community by wasting our time?
>
> erm. </paranoia-nutcase-mode>
>
> :) This is something I'd like to work on, e.g. font selection /
> configuratino for the "base" apps [e.g. term, etc], and perhaps a
> standardized font selection setup?
>
> Any advice[1]/guidance/this-is-already-being-done-so-begone-troll? ;)
>
>
> Thanks,
> Kris!
>
> [1] I mean, what do you want out of such a system, what are you
> envisioning?
>
> _______________________________________________
> Y-devel mailing list
> Y-devel at www.y-windows.org
> https://www.y-windows.org/mailman/listinfo/y-devel
>
-------------- next part --------------
diff -urN Y-0.1.orig/modules/themes/basic/basic.c Y-0.1/modules/themes/basic/basic.c
--- Y-0.1.orig/modules/themes/basic/basic.c 2003-11-02 13:40:08.000000000 -0700
+++ Y-0.1/modules/themes/basic/basic.c 2003-10-30 21:56:46.000000000 -0700
@@ -40,7 +40,7 @@
module -> name = "Basic Theme";
module -> data = &basicTheme;
- basicDefaultFont = fontCreate ("Verdana", "Regular", 12);
+ basicDefaultFont = fontCreate ("Luxi Sans", "Regular", 12);
themeAdd (&basicTheme);
return 0;
diff -urN Y-0.1.orig/modules/themes/basic/window.c Y-0.1/modules/themes/basic/window.c
--- Y-0.1.orig/modules/themes/basic/window.c 2003-11-02 13:40:08.000000000 -0700
+++ Y-0.1/modules/themes/basic/window.c 2003-10-30 21:56:46.000000000 -0700
@@ -48,7 +48,7 @@
{
/* title bar */
const char *title = objectGetPropertyAsString (windowToObject (window), "title");
- struct Font *font = fontCreate ("Impact", "Regular", 12);
+ struct Font *font = fontCreate ("Luxi Sans", "Regular", 12);
int ascender;
int titlex = x + 22;
int titley = y + 3;
diff -urN Y-0.1.orig/Y/widget/console.c Y-0.1/Y/widget/console.c
--- Y-0.1.orig/Y/widget/console.c 2003-10-30 21:53:42.000000000 -0700
+++ Y-0.1/Y/widget/console.c 2003-11-02 13:36:56.000000000 -0700
@@ -225,7 +225,7 @@
struct Console *self = castBack (self_w);
int i = 0, j = 0;
struct ConsoleChar *cur;
- struct Font *font = fontCreate ("Andale Mono", "Regular", 11);
+ struct Font *font = fontCreate ("Luxi Mono", "Regular", 11);
struct Rectangle *painterClip = painterGetClipRectangle (painter);
int left = painterClip -> x / self -> charWidth;
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved