XmFontListEntryCreate(3X)XmFontListEntryCreate(3X)NAME
XmFontListEntryCreate - A font list function that creates a font list entry
SYNOPSIS
#include <Xm/Xm.h>
XmFontListEntry XmFontListEntryCreate (tag, type, font)
char *tag;
XmFontType type;
XtPointer font;
DESCRIPTION
XmFontListEntryCreate creates a font list entry that contains either a font or font set and is identified by a tag. Specifies a NULL ter-
minated string for the tag of the font list entry. The tag may be specified as XmFONTLIST_DEFAULT_TAG, which is used to identify the
default font list element in a font list. Specifies whether the font argument is a font structure or a font set. Valid values are
XmFONT_IS_FONT and XmFONT_IS_FONTSET. Specifies either an XFontSet returned by XCreateFontSet or a pointer to an XFontStruct returned by
XLoadQueryFont.
The toolkit does not copy the X Font structure specified by the font argument. Therefore, an application programmer must not free
XFontStruct or XFontSet until all font lists and/or font entries that reference it have been freed.
RETURN VALUE
Returns a font list entry.
SEE ALSO XmFontList(3X), XmFontListAppendEntry(3X), XmFontListEntryFree(3X), XmFontListEntryGetFont(3X), XmFontListEntryGetTag(3X), XmFontListEntry-
Load(3X), XmFontListRemoveEntry(3X)XmFontListEntryCreate(3X)
Check Out this Related Man Page
XmFontListEntryGetFont(library call) XmFontListEntryGetFont(library call)
NAME
XmFontListEntryGetFont -- A font list function that retrieves font information from a font list entry
SYNOPSIS
#include <Xm/Xm.h>
XtPointer XmFontListEntryGetFont(
XmFontListEntry entry,
XmFontType *type_return);
DESCRIPTION
XmFontListEntryGetFont retrieves font information for a specified font list entry. If the font list entry contains a font, type_return
returns XmFONT_IS_FONT and the function returns a pointer to an XFontStruct. If the font list entry contains a font set, type_return
returns XmFONT_IS_FONTSET and the function returns the XFontSet.
entry Specifies the font list entry.
type_return
Specifies a pointer to the type of the font element for the current entry. Valid values are XmFONT_IS_FONT and XmFONT_IS_FONTSET.
The returned XFontSet or XFontStruct is not a copy of the toolkit data and must not be freed.
RETURN
Returns an XFontSet or a pointer to an XFontStruct structure.
RELATED XmFontList(3), XmFontListEntryCreate(3), XmFontListEntryGetTag(3)XmFontListEntryLoad(3), and XmFontListNextEntry(3).
XmFontListEntryGetFont(library call)
On my Yellow Dog Linux/PPC system, any XTerm, regardless of whether it be local or remote, displays a garbled font. When I change the font using the -fn option, XTerm displays a different garbled font. I have had no trouble running any other applications on this computer's X server, nor have I... (1 Reply)
Hi,
I've installed russian font (Cyrillic) in my system. But I could not type in those characters under unix. Especially for mail.
Do I have to do any settings?
Please advice.
Regards,
Venu. (7 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)
We use the debian 4.0 Linux with the wine 1.0. When we run our application on this platform, there is a problem:
The Barcode can't be displayed correctly, but occurs some Garbled. The font we use is “Carolinabar-B39-25F2”. But when we install the wine-0.9.25 instead of wine-1.0, the barcode can... (1 Reply)
Hello,
I would like to delete all the footnotes in all my htm files. Hence, I have to delete the whole font tag pairs, i.e. deleting everything between the begin/end font tags.
I create a testfile, of which data parts of all four lines are the same except for the number of font tag pairs,... (3 Replies)
I work in a SunOS server. I want to check which is the default font.
Actually I need to check which font is using right now in Terminal and how to change it.
Please help me suggesting the command set
---------- Post updated 08-23-09 at 12:35 AM ---------- Previous update was 08-22-09 at... (5 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, sorry if this has been asked before but I couldnt find it.
Essentially I am trying to find a value next to an xml tag say abcd 12345678
the number 1-8 is the number i need to copy to a file of order numbers in my home directory ~/tn/ordernumbers.txt
say for example there are 3 or... (3 Replies)
Need assistance . I have a cvs file which i changed to html file but when i try to send mail to outlook its indent goes wrong. any idea is appreciated .
below are some commands i tried using
Converting csv to html
#!/bin/sh
nawk 'BEGIN{
FS=","
print "MIME-Version: 1.0"
print ... (7 Replies)
Hello,
I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg.
I ran below code:
ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \
-c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4
When I play it in VLC,... (2 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)