LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2015, 04:15 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
xpaint : Setting Default Font Preference?


Hello,

For xpaint, I would like to set as default: arial monotype bold-italic.

Would you know if it is possible ?

thank you


The code states this BUT NO Arial !!

xpaint -textfont "Times-18" and
xpaint -textfont "dejavu.sans.mono-50:bold:italic"
work, however/ but I need arial monotype bold-italic.

Code:
>graphic.c 
           

extern int file_isSpecialImage;                                                                                               #
extern int file_transparent;                                                                                                  #
extern int file_numpages;                                                                                                     #
                                                                                                                              #
extern Boolean * setDrawable(Widget w, Drawable d, XImage * s);                                                               #
extern int WritePNM(char *file, Image * image);                                                                               #
extern void fill(int x, int y, int width, int height);                                                                        #
                                                                                                                              #
#define NUMBER_LINEWIDTHS 5 /* 6 items in Line selector */                                                                    #
                                                                                                                              #
#define NUMBER_PREDEF_FONTS 12                                                                                                #
char *fontNames[NUMBER_PREDEF_FONTS] = {                                                                                      #
  "times-12",                                                                                                                 #
  "times-18",                                                                                                                 #
  "times-24",                                                                                                                 #
  "times-18:bold",                                                                                                            #
  "times-18:italic",                                                                                                          #
  "times-18:bold:italic",                                                                                                     #
  "dejavu.sans.mono-12",                                                                                                      #
  "dejavu.sans.mono-18",                                                                                                      #
  "dejavu.sans.mono-24",                                                                                                      #
  "dejavu.sans.mono-18:bold",                                                                                                 #
  "dejavu.sans.mono-18:italic",                                                                                               #
  "dejavu.sans.mono-18:bold:italic"

Last edited by Xeratul; 02-19-2015 at 04:39 AM.
 
Old 02-19-2015, 10:46 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You need to install the ttf-mscorefonts package if you want Arial font.
 
Old 02-24-2015, 03:58 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by bigrigdriver View Post
You need to install the ttf-mscorefonts package if you want Arial font.
But it wont be into the menu, as I could see in the src code.

Does Arial.ttf make the same?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the default Abiword font (default copy/paste font too) Quon Linux - Software 0 09-29-2012 01:29 PM
Setting font in one console doesnt override the default setting Lakki Linux - Enterprise 0 09-01-2008 08:19 AM
How to change default font setting? boeckmann Linux - General 2 06-11-2004 05:38 PM
Mozilla default home page preference exeter Linux - Software 3 11-09-2003 07:59 AM
setting the default x11 font k4zau Linux - Software 5 05-05-2003 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration