XmFontListCreate(3X)XmFontListCreate(3X)NAME
XmFontListCreate - A font list function that creates a font list
SYNOPSIS
#include <Xm/Xm.h>
XmFontList XmFontListCreate (font, charset)
XFontStruct * font;
XmStringCharSet charset;
DESCRIPTION
XmFontListCreate creates a new font list with a single element specified by the provided font and character set. It also allocates the
space for the font list.
Note
This function is obsolete and exists for compatibility with previous releases. It is replaced by XmFontListAppendEntry.
Specifies a pointer to a font structure for which the new font list is generated. This is the structure returned by the XLib XLoadQuery-
Font function. Specifies the character set identifier for the font. This can be XmSTRING_DEFAULT_CHARSET, but this value does not comply
with the AES, and it may be removed in future versions of Motif. If the value is XmSTRING_DEFAULT_CHARSET, the routine derives the charac-
ter set from the current language environment.
RETURN VALUE
Returns NULL if font or charset is NULL; otherwise, returns a new font list.
SEE ALSO XmFontList(3X), XmFontListAppendEntry(3X)XmFontListCreate(3X)
Check Out this Related Man Page
XmFontListAdd(library call) XmFontListAdd(library call)
NAME
XmFontListAdd -- A font list function that creates a new font list
SYNOPSIS
#include <Xm/Xm.h>
XmFontList XmFontListAdd(
XmFontList oldlist,
XFontStruct *font,
XmStringCharSet charset);
DESCRIPTION
XmFontListAdd creates a new font list consisting of the contents of oldlist and the new font list element being added. This function deal-
locates oldlist after extracting the required information; therefore, do not reference oldlist thereafter.
NOTE: This function is obsolete and exists for compatibility with previous releases. It has been replaced by XmFontListAppendEntry.
oldlist Specifies a pointer to the font list to which an entry will be added.
font Specifies a pointer to a font structure for which the new font list is generated. This is the structure returned by the XLib
XLoadQueryFont function.
charset Specifies the character set identifier for the font. This can be XmSTRING_DEFAULT_CHARSET, but this value does not comply with
the AES, and it may be removed in future versions of Motif. If the value is XmSTRING_DEFAULT_CHARSET, the routine derives the
character set from the current language environment.
RETURN
Returns NULL if oldlist is NULL; returns oldlist if font or charset is NULL; otherwise, returns a new font list.
RELATED XmFontList(3) and XmFontListAppendEntry(3).
XmFontListAdd(library call)
How can I enlarged the font size when I opened the pdf files with ghostscript or ghostview in solaris 8 for sparc. The font is so small that I can't see it!]
Help me please! (0 Replies)
Dear All,
We have following code to send mails from unix to users. We want to see few sentences of mail in bold font or to hightlight few lines in different colours. Could you please let me know how can we do it in function construct_body.
... (3 Replies)
I am writing sql reports to an oracle database, spooling them to a file and emailing them with mailx. I use the syntax below. The reports do not format properly, unless I use the Courier New font. How do I set this with mailx?
mailx -s "MY REPORT, `date +'%D %r` " -r "REPORTING SYSTEM"... (2 Replies)
So, I need to find the instances of a certain font and remove it....so far in my testing I am using the find command with regex to find a font I want to pull out. However, I seem to be slightly stuck, and I am sure the beard stroking Unix geniuses here can help me.
My example code:
find... (7 Replies)
Hello,
I'm trying to find out which font xterm uses by default in CDE. I like it, it's nice and clean. My problem is that Java based applications like jEdit cannot find it.
Could anybody tell me what is the name of the font?
Example is attached.
Thank You,
PN. (1 Reply)
Hi,
i have here found a very good texteditor source code programmed in the MOTIF GUI language.
For myself i need NOTHING else to program.
To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code.
The reason for this post is that the text... (7 Replies)
I have two hosts i.e host1 & host2.
host1 has the desired font details of which are below:
uname -a
Linux host1 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ fc-match
StRydeRegular.ttf: "St Ryde" "Regular"
I need the same default font... (27 Replies)