96429b6933
XULRunner is a single "gecko runtime" installable package that can be used to bootstrap multiple XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It will provide mechanisms for installing, upgrading, and uninstalling these applications. XULRunner will also provide libxul, a solution which allows the embedding of Mozilla technologies in other projects and products. Based on an initial port by James Wright <jamesw at bsdhosting.co.za>. Improvements and okay steven@
28 lines
768 B
Plaintext
28 lines
768 B
Plaintext
$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.1.1.1 2007/01/05 14:44:48 kurt Exp $
|
|
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Tue Dec 20 11:16:58 2005
|
|
+++ gfx/src/ps/nsFontMetricsPS.cpp Tue Dec 20 11:17:37 2005
|
|
@@ -1033,8 +1033,10 @@ nsFontPSXft::Init(nsXftEntry* aEntry,
|
|
|
|
nsFontPSXft::~nsFontPSXft()
|
|
{
|
|
- if (mEntry->mFace)
|
|
+ if (mEntry->mFace) {
|
|
FT_Done_Face(mEntry->mFace);
|
|
+ mEntry->mFace = nsnull;
|
|
+ }
|
|
|
|
if (FT_Done_FreeType(mFreeTypeLibrary))
|
|
return;
|
|
@@ -2323,8 +2325,10 @@ nsXftType1Generator::Init(nsXftEntry* aE
|
|
|
|
nsXftType1Generator::~nsXftType1Generator()
|
|
{
|
|
- if (mEntry->mFace)
|
|
+ if (mEntry->mFace) {
|
|
FT_Done_Face(mEntry->mFace);
|
|
+ mEntry->mFace = nsnull;
|
|
+ }
|
|
|
|
if (FT_Done_FreeType(mFreeTypeLibrary))
|
|
return;
|