12-15-2010
That does seem to work....maybe I was just on the wrong track trying to use a regular expression?
Thanks for that
#edit
Seems it also finds a ton of stuff I don't want or that exactly matches arial....still looking into a more specific solution
Last edited by tlarkin; 12-15-2010 at 05:38 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: on9west
1 Replies
2. Shell Programming and Scripting
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)
Discussion started by: passerby
0 Replies
3. Linux
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)
Discussion started by: royalibrahim
1 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: cuddlykitty
5 Replies
5. UNIX for Advanced & Expert Users
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)
Discussion started by: hdaniel@ualg.pt
0 Replies
6. Shell Programming and Scripting
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)
Discussion started by: mrm5102
1 Replies
7. UNIX for Advanced & Expert Users
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)
Discussion started by: cokedude
0 Replies
8. Programming
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)
Discussion started by: techmonk
2 Replies
9. Programming
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)
Discussion started by: anand.shah
2 Replies
10. Shell Programming and Scripting
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 PHP
cairofonttype
CAIROFONTTYPE(3) 1 CAIROFONTTYPE(3)
The CairoFontType class
INTRODUCTION
CairoFontType class is an abstract final class that contains constants used to describe the type of a given CairoFontFace or CairoScaled-
Font. The font types are also known as "font backends" within cairo.
The type of a CairoFontFace is determined by the how it is created, an example would be the CairoToyFontFace::__construct. The CairoFont-
Face type can be queried with CairoFontFace::getType or cairo_font_face_get_type(3)
The various CairoFontFace functions can be used with a font face of any type.
The type of a CairoScaledFont is determined by the type of the CairoFontFace passed to CairoScaledFont::__construct or
cairo_scaled_font_create(3). The scaled font type can be queried with CairoScaledFont::getType or cairo_scaled_font_get_type(3).
CLASS SYNOPSIS
CairoFontType
CairoFontType
Constants
o const integer$CairoFontType::TOY0
o const integer$CairoFontType::FT1
o const integer$CairoFontType::WIN322
o const integer$CairoFontType::QUARTZ3
PREDEFINED CONSTANTS
o CairoFontType::TOY -The font was created using CairoToyFont api
o CairoFontType::FT -The font is of type CairoFreeType
o CairoFontType::WIN32 -The font is of type Win32
o CairoFontType::QUARTZ -The font is of type Quartz
o CairoFontType::USER -The font was create using cairo's user font api
PHP Documentation Group CAIROFONTTYPE(3)