12-03-2008
its Solaris 10 newest ...
@seg: thank for ur tip. I also tried so hard on google but maybe i not lucky or i don't use right key words
My work is adding some Unicode font for FireFox in en.UTF-8 locale. Today i found that it just require add the font path and vi /etc/fonts/fonts.conf like this:
<dir>/usr/openwin/lib/X11/fonts</dir>
<dir>/font</dir>
<dir>/usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType/</dir>
<dir>/usr/openwin/lib/locale/ar/X11/fonts/TrueType/</dir>
# /usr/dt/bin/sdtfontadm
and not require use the sdtfontadm to add font
So fixing sdtfontadm is not necesscary. But i will try patching and notice if it sucess then.
10 More Discussions You Might Find Interesting
1. Programming
Read the title: how do i do it? (4 Replies)
Discussion started by: Gekko
4 Replies
2. Programming
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (1 Reply)
Discussion started by: vvaidyan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (3 Replies)
Discussion started by: vvaidyan
3 Replies
4. Programming
Hi,
I wanted to know if i can write a program using switches and signals, etc to trace execution of other unix program which calls c program internally.
If yes how? If not with signals and switches then are there any other methods apart from debugging with gdb/dbx. (3 Replies)
Discussion started by: jiten_hegde
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
6. Shell Programming and Scripting
Hi,
I have the following, it doesn't work and I know it's crap code.
The objective is to split a file with a givin number of codes such as:
01,02,03,...,99
Then return all records with each seperate identifier in a new file.
The files being split have lrecl=500, recfm=F, and I... (4 Replies)
Discussion started by: mkastin
4 Replies
7. Programming
I wrote a simple program that generates a random word 10,000,000 times.
I wrote it in python, then in C++ and compared the two completion times. The python script was faster! Is that normal? Why would the python script be faster? I was under the impression that C++ was faster. What are some of... (2 Replies)
Discussion started by: cbreiny
2 Replies
8. Programming
Hi All,
Probably this is a repeated question. My knowledge in this is limited and i got confused on all those materials i got in google search.
We use #include <> to include a predefined library like stdio.h
i saw somewhere that #include "" includes a man made module(another C program). IS... (2 Replies)
Discussion started by: jisha
2 Replies
9. Homework & Coursework Questions
Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies
10. Shell Programming and Scripting
I created a program, so a kid can practice there math on it. It dispenses varies math problems and the kid must input an answer. I also want it to grade the work they have done, but I can't find the best place for it to print out the grade.
I have:
if ( $response =~ m/^/ ) {
$user_wants_to_quit... (1 Reply)
Discussion started by: germany1517
1 Replies
LEARN ABOUT DEBIAN
ttfdump
TTFDUMP(1) General Commands Manual TTFDUMP(1)
NAME
ttfdump - Dumping the contents of a TrueType Font file
SYNOPSIS
ttfdump [-h] [-t tablename] [-g glyphnumber] [-c collection] [-o dumpfile] [-i] ttfile
DESCRIPTION
ttfdump dumps the contents of a TrueType font file in ASCII form. A TrueType font file is consist of various tables. Those table are
divided into two categories - Required Tables and Optional Tables. Mulitiple TrueType fonts can be merged to a TrueType Collection.
Options
-h Print a help message on standard output and exit.
-t tablename
If this option is specified then dump the table "tablename", otherwise dump every tables in ttfile. Tablename can be one of the
following:
Required Tables
cmap character to glyph mapping table
glyf glyph data
head font header
hhea horizontal header
hmtx horizontal metrics
loca index to location
maxp maximum profile
name naming table
post PostScript information
OS/2 OS/2 and windows specific metrics
Optional Tables
cvt control value table
fpgm font program; not implemented yet.
gasp grid-fitting and scan conversion procedure (grayscale)
hdmx horizontal device metrics
kern kerning table
LTSH Linear threshold table
prep CVT program; not implemented yet
PCLT PCL5 table
VDMX Vertical Device Metrics table
vhea vertical metrics header
vmtx vertical metrics
Additional OpenType Tables
GPOS glyph positioning table
GSUB glyph substitution table
-g glyphnumber
If this option is specified then dump the glyph with index glyphnumber, otherwise dump all glyphs in ttfile.
-c collection
Select a TrueType font in a TrueType Collection.
-o dumpfile
Output of the dump. If this option is not specified, dump to stdout.
-i ttfile
TrueType font file to be dumped.
EXAMPLE
To dump all information in the TrueType font file times.ttf:
ttfdump times.ttf
To dump the required table cmap in the file:
ttfdump -t cmap times.ttf
To dump a single glyph with index 50:
ttfdump -g 50 times.ttf
SEE ALSO
TrueType 1.0 Font Files, Technical Specification Revision 1.66 November 1995
NOTE
Instruction disassembler in not implemented.
AUTHOR
Li-Da Lho, ollie@ms1.hinet.net
ILX Project 14 November 2011 TTFDUMP(1)