6ee3203c43
Including fix for long title & history file problem. http://www.mozilla.org/security/history-title.html https://bugzilla.mozilla.org/show_bug.cgi?id=319004 What's New in Firefox 1.5 Firefox 1.5 is the next version of our award-winning Web browser. Here's what's new in Firefox 1.5: * Automated update to streamline product upgrades. Notification of an update is more prominent, and updates to Firefox may now be half a megabyte or smaller. Updating extensions has also improved. * Faster browser navigation with improvements to back and forward button performance. * Drag and drop reordering for browser tabs. * Improvements to popup blocking. * Clear Private Data feature provides an easy way to quickly remove personal data through a menu item or keyboard shortcut. * Answers.com is added to the search engine list. * Improvements to product usability including descriptive error pages, redesigned options menu, RSS discovery, and "Safe Mode" experience. * Better accessibility including support for DHTML accessibility and assistive technologies such as the Window-Eyes 5.5 beta screen reader for Microsoft Windows. Screen readers read aloud all available information in applications and documents or show the information on a Braille display, enabling blind and visually impaired users to use equivalent software functionality as their sighted peers. * Report a broken Web site wizard to report Web sites that are not working in Firefox. * Better support for Mac OS X (10.2 and greater) including profile migration from Safari and Mac Internet Explorer. * New support for Web Standards including SVG, CSS 2 and CSS 3, and JavaScript 1.6. * Many security enhancements. The Burning Edge has more detailed lists of new features and notable bug fixes. http://www.squarefree.com/burningedge/releases/1.5-comprehensive.html
76 lines
2.4 KiB
Text
76 lines
2.4 KiB
Text
$NetBSD: patch-ao,v 1.4 2005/12/10 13:47:22 taya Exp $
|
|
|
|
diff -ruN ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.cpp ./gfx/src/x11shared/nsFontFreeType.cpp
|
|
--- ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.cpp 2004-04-18 06:52:34.000000000 +0900
|
|
+++ ./gfx/src/x11shared/nsFontFreeType.cpp 2005-12-04 19:07:49.000000000 +0900
|
|
@@ -177,7 +177,7 @@
|
|
FTC_Manager mgr;
|
|
nsresult rv;
|
|
mFt2->GetFTCacheManager(&mgr);
|
|
- rv = mFt2->ManagerLookupSize(mgr, &mImageDesc.font, &face, nsnull);
|
|
+ rv = mFt2->ManagerLookupFace(mgr, mImageDesc->face_id, &face);
|
|
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size");
|
|
if (NS_FAILED(rv))
|
|
return nsnull;
|
|
@@ -191,22 +191,15 @@
|
|
PRBool embedded_bimap = PR_FALSE;
|
|
mFaceID = aFaceID;
|
|
mPixelSize = aPixelSize;
|
|
- mImageDesc.font.face_id = (void*)mFaceID;
|
|
- mImageDesc.font.pix_width = aPixelSize;
|
|
- mImageDesc.font.pix_height = aPixelSize;
|
|
- mImageDesc.image_type = 0;
|
|
+ mImageDesc->face_id = (FTC_FaceID)&mFaceID;
|
|
+ mImageDesc->width = aPixelSize;
|
|
+ mImageDesc->height = aPixelSize;
|
|
+ mImageDesc->flags = 0;
|
|
|
|
if (aPixelSize < nsFreeType2::gAntiAliasMinimum) {
|
|
- mImageDesc.image_type |= ftc_image_mono;
|
|
anti_alias = PR_FALSE;
|
|
}
|
|
|
|
- if (nsFreeType2::gFreeType2Autohinted)
|
|
- mImageDesc.image_type |= ftc_image_flag_autohinted;
|
|
-
|
|
- if (nsFreeType2::gFreeType2Unhinted)
|
|
- mImageDesc.image_type |= ftc_image_flag_unhinted;
|
|
-
|
|
PRUint32 num_embedded_bitmaps, i;
|
|
PRInt32* embedded_bitmapheights;
|
|
mFaceID->GetEmbeddedBitmapHeights(&num_embedded_bitmaps,
|
|
@@ -218,7 +211,6 @@
|
|
if (embedded_bitmapheights[i] == aPixelSize) {
|
|
embedded_bimap = PR_TRUE;
|
|
// unhinted must be set for embedded bitmaps to be used
|
|
- mImageDesc.image_type |= ftc_image_flag_unhinted;
|
|
break;
|
|
}
|
|
}
|
|
@@ -312,7 +304,7 @@
|
|
if (!face)
|
|
return NS_ERROR_FAILURE;
|
|
|
|
- FTC_Image_Cache icache;
|
|
+ FTC_ImageCache icache;
|
|
mFt2->GetImageCache(&icache);
|
|
if (!icache)
|
|
return NS_ERROR_FAILURE;
|
|
@@ -401,7 +393,7 @@
|
|
if (!face)
|
|
return 0;
|
|
|
|
- FTC_Image_Cache icache;
|
|
+ FTC_ImageCache icache;
|
|
mFt2->GetImageCache(&icache);
|
|
if (!icache)
|
|
return 0;
|
|
@@ -723,7 +715,7 @@
|
|
if (y%4==0) (*blendPixelFunc)(sub_image, y, ascent-1, black, 255/2);
|
|
#endif
|
|
|
|
- FTC_Image_Cache icache;
|
|
+ FTC_ImageCache icache;
|
|
mFt2->GetImageCache(&icache);
|
|
if (!icache)
|
|
return 0;
|