I have some files in unix
ls -1
TMH.backend.tar.421E-03.Z
TMH.backend.tar.421E-04.Z
TMH.backend.tar.421E-05.Z
TMH.backend.tar.421E-06.Z
TMH.backend.tar.421E-07.Z
TMH.backend.tar.421E-08.Z
TMH.backend.tar.421E-08.Z.bak20081223164844
TMH.backend.tar.421E-09.Z... (1 Reply)
I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp.
I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working... (0 Replies)
Hi,
Does anyone know whether there is any console command available to get the info of the default Ubuntu OS or any config file where in I search for the font details?
I am using Ubuntu 8.04 and 10.04 (LTS) both together.
Thanks (1 Reply)
I am making an eBook.
I am editing the html in BBedit.
I need to replace all <p class="s5"> with just a <p>.
How do I write this for GREP?
Thank you,
Abby (5 Replies)
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
Hello All,
Wasn't sure if this was the correct thread to post this under but figured it has to do with Perl and Gtk2 so why not...
Anyway.. How can I find out what the Default font being used is inside a Gtk2::Widget. In this case I'm trying to figure out the
font being used inside a... (1 Reply)
I am having trouble running jgrasp. I get the message above when I try to run jgrasp. I am running fedora if that makes a difference.
I have already set my environmental variable with this. Hopefully I did it right.
JGRASP_HOME=/opt/jgrasp
export... (0 Replies)
I have the two class definition as follows.
class A { public: int a; };
class B : virtual public A{ };
The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Hello All,
I am a learner in C++. I was testing my inheritance knowledge with following piece of code.
#include <iostream>
using namespace std;
class base
{
public :
void display()
{
cout << "In base display()" << endl;
}
void display(int k)
{... (2 Replies)
Anybody have an explanation for why \s doesn't match ' ' in a character class? Here are 3 examples with the final example showing that \s in a character class (demonstrated by using egrep -o) fails:
\s works outside of class..
# echo " FOO " | egrep -o '\s+\s'
FOO
Here is a... (6 Replies)
Discussion started by: blackrageous
6 Replies
LEARN ABOUT SUSE
bdf2gdfont.pl
BDF2GDFONT(1) User Contributed Perl Documentation BDF2GDFONT(1)NAME
bdf2gdfont.pl - Convert X11 "BDF" fonts into a loadable font format for GD.
SYNOPSIS
% bdf2gdfont.pl courR12.bdf > courR12.fnt
DESCRIPTION
This script converts BDF-style X11 font files into a format that can be loaded by the GD module using the GD::Font->load() method. There
are a number of ways to obtain BDF fonts.
1. The font is already present on your system.
Some BDF fonts can be found in the standard X11R6 distribution. This script will automatically uncompress gzipped font files if their
extension ends with .gz (the gunzip program must be on your path).
2. From a font server.
The "fstobdf" utility, a standard X11 utility, will read a named font from the font server of your choice and return it in BDF format.
You can pipe it to bdf2gdfont.pl:
fstobdf -s fontserverhost:7100 -fn 8x16 | bdf2gdfont.pl > newfont.fnt
Use xlsfonts to find out what fonts are available. Most fonts will have long names like
-B&H-LucidaTypewriter-Bold-R-Normal-Sans-18-180-75-75-M-110-ISO8859-10.
3. Using the pcf2bdf utility.
Some fonts are only available in PCF (compiled) format. To obtain these, you can either turn on a font server and follow recipe (2),
or use TAGA Nayuta's pcf2bdf utility. This utility is available from http://www.tsg.ne.jp/GANA/S/pcf2bdf/ (page is in Japanese, but you
can find the download link).
Limitations
This font converter only works with fixed-width fonts. If used with a TrueType or proportional font it will die with an error message.
SEE ALSO
GD
AUTHOR
Lincoln Stein <lstein@cshl.org>, heavily adapted from bdftogd from Jan Pazdziora <adelton@fi.muni.cz>.
Copyright (c) 2004 Cold Spring Harbor Laboratory
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.1 2010-07-05 BDF2GDFONT(1)