PDFKit patch for Freetype related errors (SplashFTFont.cc)

For whoever needs to compile the unsupported PDFKit framework (probably i conjunction with GWorkspace) and incurs in the following errors:


SplashFTFont.cc:17:10: error: #include expects "FILENAME" or <FILENAME>
SplashFTFont.cc: In constructor ‘SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*)’:
SplashFTFont.cc:46: error: ‘FT_New_Size’ was not declared in this scope
SplashFTFont.cc: In member function ‘virtual SplashPath* SplashFTFont::getGlyphPath(int)’:
SplashFTFont.cc:219: error: invalid conversion from ‘int (*)(FT_Vector*, void*)’ to ‘int (*)(const FT_Vector*, void*)’
SplashFTFont.cc:219: error: invalid conversion from ‘int (*)(FT_Vector*, void*)’ to ‘int (*)(const FT_Vector*, void*)’
SplashFTFont.cc:219: error: invalid conversion from ‘int (*)(FT_Vector*, FT_Vector*, void*)’ to ‘int (*)(const FT_Vector*, const FT_Vector*, void*)’
SplashFTFont.cc:219: error: invalid conversion from ‘int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)’ to ‘int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)’
SplashFTFont.cc:224: error: ‘FT_Glyph’ was not declared in this scope
SplashFTFont.cc:224: error: expected `;' before ‘glyph’
SplashFTFont.cc:238: error: ‘glyph’ was not declared in this scope
SplashFTFont.cc:238: error: ‘FT_Get_Glyph’ was not declared in this scope
SplashFTFont.cc:243: error: ‘FT_OutlineGlyph’ was not declared in this scope
SplashFTFont.cc:243: error: expected `)' before ‘glyph’
SplashFTFont.cc:248: error: ‘glyph’ was not declared in this scope
SplashFTFont.cc:248: error: ‘FT_Done_Glyph’ was not declared in this scope

here’s a patch to fix those errors. (I had them on Debian 2.6.18-4-686.)

Sphere: Related Content

20080516 2034 Friday # reported by ep # Filed under:

Nuclear warheads in Italy and Europe: just give the word!

Want some WMD? No need to go to Iraq, just travel across Europe. All safe, ready and made in USA.

“[The] February 2005 NRDC paper pieces together evidence from an array of sources to show that the United States is still deploying 480 nuclear weapons in Europe. Until now, most observers believed there were no more than half that many still left on the continent.”
http://www.nrdc.org/nuclear/euro/contents.asp

Aviano base, Italy: 50 B61 nuclear bombs.
Ghedi Torre, Italy: 40 B61 nuclear bombs.
(Source: DigitalGlobe.)
Full report: http://www.nrdc.org/nuclear/euro/euro.pdf

Europe WMD map: http://www.abolition2000europe.org/map/

A great wealth of updated information is here:
http://www.nukestrat.com/us/afn/nato.htm

Some older stats:
“Today, there are fewer than 180 US nuclear bombs in Europe. (1998)” [link1]

“The United States now retains approximately 1,100 nonstrategic nuclear weapons, with a few hundred deployed with aircraft in Europe and the remaining stored in the United States.”
“Unclassified reports indicate that, of this number, fewer than 500 were air-delivered bombs deployed at bases in Europe” (2004) [link2]

The B61-5 is a lightweight (350kg), low drag/parachute-retarded variable yield (10-500kT) tactical thermonuclear weapon.
[link3] [link4 (1994 report)]

Sphere: Related Content

20080510 1427 Saturday # reported by ep # Filed under:

You know it’s a bad O.S. when it moves slower than your hands

That’s what happens to me every time I use Windows.

20080501 1135 Thursday # reported by ep # Filed under:

Berlusconi mimes machine gun at Russian journalist (business as usual)

Berlusconi news on the left, boobs on the right
April 19: Repubblica, the biggest Italian online newspaper, didn’t think this intimidation by Italy’s future prime minister was too wrong: in fact it appeared at mid page, next to a pair of boobs. (A pretty nice pair, I might say.) At least I know which piece of news I’m gonna click!

Sphere: Related Content

20080424 1729 Thursday # reported by ep # Filed under:

Such nice, motivated, interesting people at Startup School reception

What a great event last night at YC. I talked to a lot of cool people, shook hands with robots, drank beer, really a lot of fun. It is so nice to see so many guys (and 6 or 7 girls) with a desire to create new stuff, never saw anything like this. That’s how progress should be, in the hands of young people that do stuff because they truly love it.

Sphere: Related Content

20080419 0550 Saturday # reported by ep # Filed under:

Can’t fucking believe this dude got 6% of italian votes

Bossi 2008

da Repubblica, 2008-04-14, post 2008 elections

Update: I was optimistic, secessionist Lega Nord got more than 8%.

Sphere: Related Content

20080414 1108 Monday # reported by ep # Filed under:

Giordano: ma vaffanculo va

Franco Giordano, PRC, post elezioni 2008

da Repubblica, 2008-04-14, post elezioni 2008

20080414 1044 Monday # reported by ep # Filed under:

Ho votato

voto elezioni politiche 2008

Technorati Tags:

20080403 0846 Thursday # reported by ep # Filed under: