mfontset_lookup(3m17n) The m17n Library mfontset_lookup(3m17n)NAME
mfontset_lookup - Lookup a fontset.
SYNOPSIS
MPlist * mfontset_lookup (MFontset * fontset, MSymbol script, MSymbol language, MSymbol charset)
DESCRIPTION
Lookup a fontset. The mfontset_lookup() function lookups fontset and returns a plist that describes the contents of fontset corresponding
to the specified script, language, and charset.
If script is Mt, keys of the returned plist are script name symbols for which some fonts are specified and values are NULL.
If script is a script name symbol, the returned plist is decided by language.
o If language is Mt, keys of the plist are language name symbols for which some fonts are specified and values are NULL. A key may be Mt
which means some fallback fonts are specified for the script.
o If language is a language name symbol, the plist is a FONT-GROUP for the specified script and language. FONT-GROUP is a plist whose keys
are FLT (FontLayoutTable) name symbols (Mt if no FLT is associated with the font) and values are pointers to MFont.
o If language is Mnil, the plist is fallback FONT-GROUP for the script.
If script is Mnil, the returned plist is decided as below.
o If charset is Mt, keys of the returned plist are charset name symbols for which some fonts are specified and values are NULL.
o If charset is a charset name symbol, the plist is a FONT-GROUP for the charset.
o If charset is Mnil, the plist is a fallback FONT-GROUP.
RETURN VALUE
It returns a plist describing the contents of a fontset. The plist should be freed by m17n_object_unref().
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mfontset_lookup(3m17n)
Check Out this Related Man Page
mdatabase_load(3m17n) The m17n Library mdatabase_load(3m17n)NAME
mdatabase_load - Load a data from the database.
SYNOPSIS
void* mdatabase_load (MDatabase * mdb)
DESCRIPTION
Load a data from the database. The mdatabase_load() function loads a data specified in mdb and returns the contents. The type of contents
depends on the type of the data.
If the data is of the plist type, this function returns a pointer to plist.
If the database is of the chartable type, it returns a chartable. The default value of the chartable is set according to the second tag of
the data as below:
o If the tag is Msymbol, the default value is Mnil.
o If the tag is Minteger, the default value is -1.
o Otherwise, the default value is NULL.
If the data is of the charset type, it returns a plist of length 2 (keys are both Mt). The value of the first element is an array of
integers that maps code points to the corresponding character codes. The value of the second element is a chartable of integers that does
the reverse mapping. The charset must be defined in advance.
SEE ALSO
mdatabase_load(), mdatabase_define()
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mdatabase_load(3m17n)
:(
Since I'm fairly new to the scene and don't have much experience in shell programming, I decided to check out the net for a useful script or two.
What I'm looking for is a script that would let me enter a PID and then show the process tree associated with it.
So it would display the (grand-)... (2 Replies)
Hi,
This is what I would like to do.
1. Find all directories named "ByHost" in a specified directory
2. Rename all .plist files inside "ByHost" directories
This is the way I have been able to do it so far.
#!/bin/sh
#
# Rename ByHost files
#
# Thomas Berglund, 13.07.08
# Get the... (2 Replies)
This maybe the dumpiest question you've ever been asked..but i've been browsing, searching and understanding lots of information that i get from the internet..i'm confused that i might be in the wrong way in understanding it since i have to do a system that count and build up a statistics for a... (5 Replies)
Question for the Lingon Expert: Once I've completed creating a plist under Lingon, can the plist be directly applied to the user template in order for the changes to force the desired results, no matter who logs into the machine? (Side note: I understand Casper 7.2 has provisions for uploading... (1 Reply)
I'm using an old conversion method for converting a plist into an XML file, but that's not what I'm needing just via terminal now. What I'm looking for is an answer to convert a plist file into an executable. I'd like to import it into Casper and have the JSS push it out onto an image. In this... (6 Replies)
hi
i want to invoke a unix script in a C program and also return some value from the script to the C program to use that value further.
Basically i am doing a Lookup operation in this unix script and returning the looked up data from a oracle database table..
please help me invoke as well... (1 Reply)
Hi
I use the following instruction in a script
/usr/bin/find /Library/Safari/ -not -name Bookmarks.plist -execdir /bin/rm -rf \{\} \
I know what is going to happen. What I do not understand is the last part
\{\} \
Can someone explain me that (Google was of no help at all)
Thanks... (2 Replies)
Hi All,
I have script 1 which is calling script2
Script2 contains vaiables declaration but i want to use that declared name in script1.(like return in C language)
Thanks (5 Replies)
Hi,
I appreciate all who have been very helpful to me in providing valuable suggestions and replies.
I want to write a script to look up a file and match the contents. Let me go through the scenario. Lets say i have two files
Content file:
abc, bcd, adh|bcdf|adh|wed
bcf, cdf,... (2 Replies)
I am trying to get the mounted size of a compressed .dmg. I can use hdiutil imageinfo -plist $imagename to get a lot of info, including what I need. The problem is that I have no idea how to parse that single piece of info into a variable (or in this case, array element). Here is what I have so... (2 Replies)
I'm trying to use awk in a script to search for a string number in a plist file.
basically its a plist that records the bandwidth usage, and if the number is greater than 3GB which is equals 3221225472 bytes, it will send me an alert by email.
here is the file:
=<?xml version="1.0"... (4 Replies)
Hi I am trying to remove all the symbols in a file (testfile1) and using the below command to do that. Its not working for me. Can you help me on what is wrong with below script?
I want to retain only alphabets in a file and remove all the symbols like *:.+= etc
sed 's/^.//g' testfile1 > testfile2 (4 Replies)