Commit Graph

833 Commits

Author SHA1 Message Date
Vladimir Vukicevic
1ce4d80f1b b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad 2008-09-25 12:53:09 -07:00
Vladimir Vukicevic
e9929e8a33 b=455976; wrong extend mode used for macosx for border-image 2008-09-25 12:49:55 -07:00
Doug Turner
d26848464c Bug 455354 - WinCE GFX Thebes Windows Fonts Explicit Unicode API Call. patch by wolfe, r=pavlov 2008-09-23 16:35:56 -07:00
Karl Tomlinson
fb0d6fc718 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-22 08:41:40 +12:00
Karl Tomlinson
cc1a3203b5 b=404857 firefox reloads every font.cache for every page loaded r=pavlov 2008-09-22 08:24:28 +12:00
Keith Schwarz
c45964315c Bug 455403 - -moz-transform translate functions result in incorrect origin; v5; r+sr=dbaron 2008-09-20 16:39:31 +02:00
L. David Baron
b8d9d3e2ed Backed out changeset aab6b12f4a2b (Bug 455403) due to reftest failures from landing patches in the wrong order, and unexplained reftest hangs. 2008-09-19 16:04:34 -07:00
Keith Schwarz
89a6316c50 Fix incorrect composition of translations with other transforms by making matrix multiplication code clearer, clarifying which matrices are for column vectors and which are for row vectors, and fixing incorrect matrix type conversions. (Bug 455403) r+sr=dbaron 2008-09-19 10:14:54 -07:00
Karl Tomlinson
3ce9751811 backout merge b=455791 2008-09-19 15:03:27 +12:00
Karl Tomlinson
d52c34f81c backout f51aad9e6a88 due to intermittent talos ts failures b=455791 2008-09-19 15:02:35 +12:00
Karl Tomlinson
f8ae25f7d0 b=454951 lazy creation of gfxPangoFont for gfxPangoFontGroup r=roc 2008-09-18 13:44:14 +12:00
Mats Palmgren
20b9888b1f Disable bug 441360 crash test on GTK2 for now (filed bug 455463). 2008-09-16 10:04:46 +02:00
Mats Palmgren
92a4c7d76b Crash test for bug 441360 (additional file). 2008-09-16 07:48:18 +02:00
Karl Tomlinson
212e7734e7 b=454720 Add GetThebesStyle and GetThebesWeight to gfxFontconfigUtils r=pavlov 2008-09-16 16:40:57 +12:00
Karl Tomlinson
69486965eb fix compiler warning regarding initialization of gfxFont b=454735 r=roc 2008-09-16 16:38:20 +12:00
Karl Tomlinson
ae52bc5050 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-16 16:35:05 +12:00
Karl Tomlinson
4ce06bfd6f b=454743 skip empty glyphs rather than rendering as spaces 2008-09-16 16:19:46 +12:00
Mats Palmgren
b0a4822bed Crash test for bug 441360. 2008-09-16 03:37:00 +02:00
Karl Tomlinson
e8a84aa36e b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos
067d8fcf17 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
John Daggett
96dc454727 Bug 449533. Set the mFixedPitch flag within SetFixedPitch. r+sr=vlad 2008-09-12 16:31:16 +09:00
Vladimir Vukicevic
c0e9f67c98 b=454856; gcc compilation oddness with some fp-int conversions, workaround in gfxColor; r=bholley 2008-09-11 17:49:58 -07:00
Bobby Holley
7f68f87dbf Fixing some endian-ness bugs for color management - bug 439704. r=vlad 2008-09-10 19:21:03 -07:00
Bobby Holley
3c106c861e Force cms to use sRGB as an output profile during reftests - bug 452125.r=vlad 2008-09-08 14:47:26 -07:00
Bobby Holley
6bd35710a6 Bug 453726 - thebes does an unnecessary float->byte->float conversion on the alpha channel when color management is turned on. r=vlad 2008-09-08 14:41:26 -07:00
Robert O'Callahan
1bc2d8883a Bug 446529. Disable uncommon ligatures on Mac/ATSUI. Make sure we don't enable common ligatures if ATSUI has disabled them by default for this font (e.g. for Courier). r=vlad 2008-09-06 20:37:58 +12:00
Robert O'Callahan
787e31d22a Bug 452567. Reorder glyph drawing order for RTL to make it consistent with LTR. r=vlad 2008-09-04 14:38:32 +12:00
Oleg Romashin
9941099a86 Bug 451032 – Replace gfxQtFonts with gfxFT2Fonts because it almost the same. r=vladimir 2008-08-28 21:05:53 +10:00
Brian Crowder
e5f30b8f9d Bug 422774 - reduce narrow Windows API calls in gfx, original patch by Brad Lassey <blassey@mozilla.com>, r=pavlov 2008-08-27 14:44:55 -07:00
shaver@mozilla.org
4e4293b4e9 re-merge from mozilla-central for post-freeze backouts 2008-08-20 10:56:41 -07:00
shaver@mozilla.org
5d3ad68bbe merge from mozilla-central 2008-08-20 08:17:17 -07:00
Ted Mielczarek
df23199981 Backed out changeset d55aac0ec553, bug 446529 - Disable discretionary ligatures on Mac, due to reftest failures on mac
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-01.html |
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-03.html |
2008-08-20 10:43:58 -04:00
Ted Mielczarek
702aa540ab Backed out changeset d55aac0ec553, bug 446529 - Disable discretionary ligatures on Mac, due to reftest failures on mac
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-01.html |
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-03.html |
2008-08-20 10:42:57 -04:00
Reed Loden
29cb2899a3 Branch merge. 2008-08-20 02:03:50 -05:00
Reed Loden
b89ad17341 Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed. 2008-08-20 02:03:01 -05:00
Robert O'Callahan
15260e6b0e Bug 446529 - "Disable discretionary ligatures on Mac" [r=vlad] 2008-08-20 00:55:27 -05:00
Michael Moy
f9e264bb68 Bug 416157 - "Add JPEG SSE2 color processing for ycc_rgb_convert_argb" [r=stuart sr=vlad] 2008-08-20 00:03:46 -05:00
Robert O'Callahan
6508d9ba55 Bug 449519. gfxFont::Measure needs to be more careful so that gfxRect::Union does not discard height information. r=vlad 2008-08-08 20:24:22 +12:00
Peter Weilbacher
1ec3d5e1f0 [OS/2] follow-up for bug 437356 to unbreak the OS/2 build.
This just copies the font entry stub of gfxPangoFonts, we are going to make real use of the fontentry stuff for OS/2 hopefully soon.
2008-08-07 10:12:45 +02:00
Vladimir Vukicevic
5666178bff (really) backing out d883ab4b8f41 2008-08-06 16:32:33 -07:00
Vladimir Vukicevic
02e6b86b3b Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
f490a8522a [dfb,422221] merge fixup 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
b6f8937698 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
50321c29c8 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
67fa7ce818 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
John Daggett
7a21d2d052 Bug 437356. Set up unified font entry object. r+sr=stuart 2008-08-06 13:34:06 +09:00
Vladimir Vukicevic ext:(%2C%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
82238e4cc8 Bug 449959: gfxGdkNativeRenderer: look for GdkDrawable on group target,
use default display for fallback. r=vlad/karlt
2008-08-19 15:22:42 +12:00
Bobby Holley
5eca9973d1 turned on the fastpath introduced in the main patch for bug 445552.r=stuart 2008-08-18 16:44:37 -07:00
Ginn Chen
c866616af3 Bug 449751 gfxFont.cpp failed to compile with Sun Studio 12 r=jdaggett sr=pavlov 2008-08-18 16:31:53 +08:00
Bobby Holley
e376ccfcac adding a file for bug 450454 that I forgot to commit in c71e4d3f0093. 2008-08-17 17:48:42 -07:00
Stuart Parmenter
c126af8547 bug 448989. Merging the mozilla-qt repository. r=me,vlad 2008-08-16 23:18:27 -07:00
Bobby Holley
ead2727c2c Floating point path through lcms as part of bug 445552. r=vlad 2008-08-16 14:44:51 -07:00
Bobby Holley
aca31622dd LCMS precaching patch to speed up linear interpolations - bug 444661. r=joe,sr=vlad 2008-08-15 13:59:18 -07:00
Oleg Romashin
f60c5c61e0 Removed old embedding API
Removed old GLITZ stuff
2008-08-15 09:31:55 +03:00
Oleg Romashin
38e95b5eeb merge with mozilla-central 2008-08-16 03:39:26 -04:00
Bobby Holley
3cdb983b04 fixed linux bustage - sorry. 2008-08-14 16:32:58 -07:00
Bobby Holley
5e329cc746 Standalone testing framework for LCMS (not run automatically). r=vlad 2008-08-14 16:13:41 -07:00
Simon Montagu
bb23c68e71 Prevent crash with long string of Indic characters. Bug 445711, r=pavlov 2008-08-14 11:20:46 +03:00
Robert O'Callahan
73f4457098 Bug 406299. Make sure we include the font ascent/descent of a soft hyphen if there is one (gfx bits). r+sr=dbaron 2008-08-12 21:34:52 +12:00
Bobby Holley
3b34cb4ebc Bug 449681 – switch color_management pref from off/on bool to off/on/taggedonly int. r=vlad 2008-08-11 21:55:36 -07:00
Vladimir Vukicevic
b9335eeb11 b=422221; additional DirectFB compilation fixes 2008-08-09 22:25:30 -07:00
Oleg Romashin
59134516e5 Fixed gfxQtFont according to changes in bug 437356 Set up unified font entry object
Added empty gfxQtNativeRenderer and fixed nsObjectFrame for MOZ_WIDGET_QT
2008-08-09 16:43:08 +03:00
Oleg Romashin
12059d0133 mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic
4777074613 [dfb,422221] merge fixup; fix temp xlib surface creation 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
47e8b31ff1 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
05da74d969 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
cec2aa1047 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin
dbbb2a81ec Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
bc6cd35488 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Ian Neal
2cc0239904 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Bobby Holley
4a0c36fc63 Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Vladimir Vukicevic
249ff0de3c b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
Vladimir Vukicevic
f322efada2 b=424423; border rendering is slow: add APIs to thebes; r=joe 2008-07-23 10:25:00 -07:00
Peter Weilbacher
047958a689 [OS/2] Bug 439194: simple glyph matching across all installed fonts 2008-07-20 18:51:49 +00:00
Eric Butler
2dab44aa60 Expose Cairo path copy/append functions through Thebes - bug 445616 r=vlad 2008-07-18 11:26:02 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bobby Holley
500e5c0524 System color profile handle not freed on thebes shutdown - bug 444829 r=vlad 2008-07-16 20:09:08 -07:00
Karl Tomlinson
333c18ab53 cairo_draw_with_xlib should provide a non-NULL visual to callback. b=445250 r=vlad 2008-07-17 13:22:50 +12:00
Zack Weinberg
2103ba64ef Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
Robert O'Callahan
8901cc3a8a Bug 444689. gfxMatrix type checks should allow for an epsilon fuzz so that matrix arithmetic that works out to the identity doesn't change the type. r=vlad 2008-07-14 10:27:43 +12:00
Robert O'Callahan
2d4fd7e6b5 Bug 444690. gfxPlatformGTK::CreateOffscreenSurface should clear the surface to be consistent with other platforms. r=vlad 2008-07-14 09:40:16 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Karl Tomlinson
096f79ffa2 remove excess spaces to force rebuild for system-headers changes 6c0971153949 2008-07-08 16:58:17 +12:00
Karl Tomlinson
b768d04fd4 remove comma at end of enumerator list from 9bbea3b66376 2008-07-08 14:37:41 +12:00
Karl Tomlinson
8a008f0564 Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
Mats Palmgren
b01b0154dd Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
5605db70df Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
Mats Palmgren
eeaac22dff Backout crash tests for bug 409006 since it caused other crash tests to fail loading (403296-1.xhtml). 2008-07-03 16:00:32 +02:00
Mats Palmgren
7dff52cbb1 Crash tests for bug 409006. 2008-07-03 14:57:20 +02:00
Mats Palmgren
3856a18945 Backout crash tests for bug 409006. 2008-07-02 15:50:53 +02:00
Mats Palmgren
ccdf3aa2b1 Crash test for bug 409006. 2008-07-02 13:13:15 +02:00
L. David Baron
a05e0bbe1c Merge backout of 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:26 -07:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
John Daggett
1cb2f4ae57 Bug 423405. gfxPlatformMac.h causes compile to fail GCC4.2 on Mac OS X. r=jdaggett, sr=vlad 2008-07-02 13:19:37 +09:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
John Daggett
c89140eb33 Bug 433997. Catch null ptrs returned by CGFontGetHMetrics in cairo mac font code to prevent top crasher. r+sr=vlad 2008-07-01 09:02:21 +09:00
Simon Montagu
661c1e5933 Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc 2008-06-18 23:14:51 -07:00
Ginn Chen
d94506c0a7 Bug 435739 Poor performance of Firefox 3 with no X RENDER extension
r=vladimir
2008-06-11 18:29:21 +08:00
Robert O'Callahan
ff76cbbd22 Add Width/Height/GetDataSize getters to gfxImageSurface. r=vlad 2008-06-11 11:46:32 +12:00
Robert O'Callahan
a395b05359 Add 2-axis Scale, operator-, and Contains to gfxRect. r=vlad 2008-06-11 11:43:51 +12:00
Robert O'Callahan
170eb005a5 Make gfxImageSurface clear allocated surface data. r=vlad 2008-06-11 11:05:43 +12:00
pavlov@pavlov.net
1d63f66c30 bug 434401. crash due to not finding a font on startup in some cases. r=karlt a=beltzner 2008-05-28 16:55:40 -07:00
mozilla@weilbacher.org
350d31dbcd [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. (Oops, don't want to get the debugging output by default!) 2008-05-28 05:55:36 -07:00
mozilla@weilbacher.org
e80bce4bc0 [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. 2008-05-28 05:38:09 -07:00
gavin@gavinsharp.com
52f36f8928 Bug 432062: Windows vector font rendering is broken, patch by roc@ocallahan.org, r=stuart, a=schrep 2008-05-08 08:38:22 -07:00
pavlov@pavlov.net
844a9ac9ed bug 432065. deal with multiple fonts with the same name. r=roc a=schrep 2008-05-07 13:29:48 -07:00
Vladimir Vukicevic
2638e3dc51 [qpainter] Create QImages directly from image surfaces used as source 2008-05-04 11:51:37 -07:00
crowder@fiverocks.com
a267b3970f Bug 431413: Crash in gfxWindowsFontGroup::InitTextRunUniscribe, r=pavlov, sr=roc, a=mtschrep 2008-05-03 21:25:13 -07:00
Vladimir Vukicevic
2de5a08c00 Branch merge. 2008-05-01 09:23:23 -07:00
Oleg Romashin
25d501d465 Fixed optimized cairo_surface_fill for image surface
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
jdaggett@mozilla.com
9a2ab9c8d7 Bug 418479. Allow antialiased text rendering to be disabled for small text sizes via a pref. r+sr=vlad, a=damons 2008-05-01 02:07:17 -07:00
Vladimir Vukicevic
861b6a8679 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
roc+@cs.cmu.edu
3469d1a6c7 Bug 427411. Handle bogus fonts being returned by Windows due to the font catalog being stale or out of GDI objects. r=pavlov,a=damon 2008-04-29 20:37:30 -07:00
Vladimir Vukicevic
b8dc499b49 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
roc+@cs.cmu.edu
0ad8725993 Backing out bug 427411 2008-04-28 17:28:22 -07:00
roc+@cs.cmu.edu
b243289a8d Bug 427411. Handle GetTextMetrics failing when we create a gfxWindowsFont (can happen if we're out of GDI resources or Windows' font catalog is stale). r=pavlov,a=damon 2008-04-28 15:30:22 -07:00
vladimir@pobox.com
916af28b69 b=429915, color mismatch with 1x1 images (SetColor API broken) ; r=stuart, a=damon 2008-04-28 14:27:05 -07:00
jruderman@hmc.edu
3f9bb54348 Adding a crashtest 2008-04-22 21:09:02 -07:00
roc+@cs.cmu.edu
2c14fc8681 Bug 429899 crashtest 2008-04-22 19:08:20 -07:00
roc+@cs.cmu.edu
75aa8f57a7 Bug 429899. Always treat the first character of a ligature as the start of a cluster when dividing ligature width among clusters. r+a=vlad 2008-04-22 19:06:22 -07:00
Stuart Parmenter
f7ea6e0bc4 removing printfs 2008-04-20 04:38:54 -07:00
Stuart Parmenter
ae3f3df546 use fontconfig for font lookup misses and cache the results 2008-04-20 04:34:04 -07:00
Stuart Parmenter
01514ee099 removing +x on the files 2008-04-20 03:37:33 -07:00
Vladimir Vukicevic
ed0e67d29f [qpainter] Add getters for QImage; also make OptimizeImages a noop
The QPainter back end knows how to create a QImage from an image surface
while painting, so no need to copy the image.
2008-04-20 01:40:10 -07:00
stuart
8bc7b34f51 adding synthetic italic support 2008-04-19 19:07:24 +03:00
romashin
8c5afb0e75 Probably Fixed crash on device
Add binary package microb-precious
2008-04-19 19:07:05 +03:00
vlad
669f03c6b8 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-19 19:02:53 +03:00
romaxa@romaxa.research.nokia.com
e84ddd7185 Remove files added by mistake 2008-04-19 18:56:33 +03:00
romashin
40e2385b88 Fixed compilation problems with sb-QT arm 2008-04-19 18:53:37 +03:00
romashin
7831d65b1a Added new cairo-qt surface from Vlad's patch
New created files moved in sandbox/qt_port.. cairo and gfxQPainterSurface
Changes for existing files applyed from 100_qt-qpainter-cairo.diff
Fixed building non deb mozilla with build_non_deb.sh script
Fixed tab-spaces in new created file cairo-qpainter-surface.cpp
2008-04-19 18:43:23 +03:00
romashin
6f8875696f Return back Qt font using 2008-04-19 18:40:46 +03:00
romashin
d055714853 Added cairoFontface destroy 2008-04-19 18:40:37 +03:00
romashin
6cbe05e9df Some metrics cleanup 2008-04-19 18:40:28 +03:00
romashin
29c7f39e27 Added CairoFontFace creation from FcPattern 2008-04-19 18:40:24 +03:00
romashin
f97ce9f17b Add more proper initialization of QFont, weight, styles... 2008-04-19 18:40:20 +03:00
romashin
65d1c04004 Fixed www.linux.org.ru displaying 2008-04-19 18:40:16 +03:00
romashin
cfeb241c9d Added comment about QFontMetricsF 2008-04-19 18:40:03 +03:00
romashin
a77297ec57 Enabled stuff for proper mMetrics.subscriptOffset mMetrics.superscriptOffset calculation 2008-04-19 18:39:59 +03:00
romashin
5d8abd78b3 Added some stuff from gfxPangoFonts implementation 2008-04-19 18:39:55 +03:00
romashin
31f581b316 Add SanitizeMetrics 2008-04-19 18:39:50 +03:00
romashin
d3112cf672 Fixed underline offset 2008-04-19 18:39:46 +03:00
pekka.aho
23331a2bc9 New version gfxQtFontGroup (kerning & missing glyph support) 2008-04-19 18:39:34 +03:00
pekka.aho
f4daeca3eb Basic font implementation 2008-04-19 18:37:47 +03:00
pekka.aho
bd57c62068 first version of the gfxQtFontGroup 2008-04-19 18:37:43 +03:00
pekka.aho
18bb87b0ff First version of gfxQtFont 2008-04-19 18:37:38 +03:00
romashin
cbcafdf1a0 Some font updates 2008-04-19 18:37:23 +03:00
pekka.aho
c2af615677 first version of gfxQtFont::GetMetrics 2008-04-19 18:37:18 +03:00
romashin
d3d42719ce Added more debug info for fotns 2008-04-19 18:37:14 +03:00
Oleg Romashin
790eff22e7 Added Screen Manager
Some fixes and addditional stuff for fonts
2008-04-19 18:14:15 +03:00
Oleg Romashin
3f8576b06e Simple stuff for QT fonts (no crash) 2008-04-19 18:14:11 +03:00
Oleg Romashin
3b3ac75525 Process updates 2008-04-19 18:13:55 +03:00
romaxa@romaxa.research.nokia.com
f98baada0a Add base implementation of gfxQtPlatform and widget/qt 2008-04-19 18:02:52 +03:00
romaxa@romaxa.research.nokia.com
7f26b5f88d Add initial fonts stuff for Qt port 2008-04-19 16:46:17 +03:00
romaxa@romaxa.research.nokia.com
6c3e325d4b Add new cairo-qpainter backend for building in cairo-qt configuration 2008-04-19 16:34:30 +03:00
romaxa@romaxa.research.nokia.com
257b6a32af Add cairo-ft dependency for QT-gfx 2008-04-19 16:31:30 +03:00
romaxa@romaxa.research.nokia.com
bbb00db9ff Enabled building of gfxQtFonts and gfxQtPlatform for cairo-qt configuration 2008-04-19 16:19:04 +03:00
jdaggett@mozilla.com
744f5db6d1 Bug 428458. Fix fixed-pitch font handling for mac/win. r+sr=roc, a=vlad 2008-04-18 02:11:47 -07:00
jdaggett@mozilla.com
e05963a7da Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep (reland) 2008-04-17 21:32:18 -07:00
gavin@gavinsharp.com
4f1e14850e Bug 405684: checking incorrect character in UniscribeItem::ComputeRanges, patch by pavlov@pavlov.net, r=vlad, a=beltzner 2008-04-17 18:46:47 -07:00
roc+@cs.cmu.edu
659583c0d8 Backing out 427602 to try to fix failures 2008-04-17 04:18:58 -07:00
jdaggett@mozilla.com
729e5ee9c2 Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep 2008-04-17 01:30:15 -07:00
karlt+@karlt.net
a47f75781a Ensure aveCharWidth is wide enough for numerals. b=410405 r=pavlov a1.9=schrep 2008-04-15 18:03:51 -07:00
roc+@cs.cmu.edu
4f03ff6841 Bug 427730. Make text for ATSUI layout end in ' ' or ' .' instead of '.', to ensure the last character isn't treated as the start of a kerning pair. r=jdaggett,sr=vlad,a=beltzner 2008-04-14 18:48:19 -07:00
masayuki@d-toybox.com
0767329450 Bug 426616 Acid2 chin is 1px too tall in FF3b5 r=pavlov, sr=roc, a1.9=beltzner 2008-04-12 01:54:18 -07:00
reed@reedloden.com
1f95f2294c Bug 427985 - "Mozilla stops repainting in this testcase after a while" (leak fix) [p=pavlov@pavlov.net (Stuart Parmenter) r=vlad b1.9+a1.9=damons] 2008-04-11 00:01:14 -07:00
karlt+@karlt.net
e5239b111e Use a PangoFontMap for pango_itemize that provides the same primary font from document language rather than adjacent characters b=416725, r+sr+a1.9=pavlov 2008-04-08 23:55:49 -07:00
karlt+@karlt.net
036bda2117 Backing out b=410405 to see if it fixes test failures. 2008-04-08 19:29:44 -07:00
karlt+@karlt.net
a550baeaa3 Ensure aveCharWidth is wide enough for numerals. b=410405, r=pavlov. 2008-04-08 17:02:41 -07:00
longsonr@gmail.com
51b6a3dc2f Bug 425662 - Scaled SVG content can get the wrong metrics and poison the cache. r+sr=roc,a1.9=beltzner 2008-04-08 06:12:04 -07:00
jdaggett@mozilla.com
d0a6c2dd33 Bug 423571. Short circuit system-wide font fallback for U+FFFD on Mac. r+sr=vlad 2008-04-08 01:46:15 -07:00
pavlov@pavlov.net
8f4d2f8df6 bug 427084. Use GetGlyphIndiciesW rather than ScriptGetCMap for type1 fonts. r=vlad 2008-04-08 00:32:38 -07:00
joshmoz@gmail.com
9e7302e02d back out 425662 for longsonr because it might have caused tbox orange 2008-04-07 20:53:12 -07:00
longsonr@gmail.com
a0a20348fe Bug 425662 - Scaled SVG content can get the wrong font size and poison the font cache. r+sr=roc,a1.9=beltzner 2008-04-07 16:18:12 -07:00
vladimir@pobox.com
d7ddef3d99 dummy commit to kick tinderbox 2008-04-06 23:34:48 -07:00
vladimir@pobox.com
06c698810e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 22:08:30 -07:00
vladimir@pobox.com
3f56db9279 backout [mq]: cairo-rollback.patch 2008-04-06 16:34:08 -07:00
vladimir@pobox.com
2d82be0e34 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 15:14:09 -07:00
roc+@cs.cmu.edu
7520c2dc11 Crashtest for bug 423270. 2008-04-06 03:14:31 -07:00
roc+@cs.cmu.edu
ed465e43d2 Bug 423270. Make gfxTextRunWordCache handle cases where a space and another character combine to form a ligature. r=vlad 2008-04-06 03:12:21 -07:00
pavlov@pavlov.net
3272e891cd bug 425336. check for S_OK explicitly rather than != S_FALSE. r=vlad 2008-04-04 00:39:58 -07:00
smontagu@smontagu.org
bd00284645 Bug 378105. Update default fonts for Indic scripts. r=pavlov, ui-review+approval1.9=beltzner 2008-04-03 21:23:18 -07:00
pavlov@pavlov.net
7ec0340036 bug 425336. fix problems with bitmap and vector fonts. r=vlad 2008-04-03 19:21:06 -07:00
jdaggett@mozilla.com
2c8eb2e601 Bug 419744. Load font cmap info via a background task. r+sr=stuart 2008-04-03 19:01:22 -07:00
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
masayuki@d-toybox.com
5891dcdd07 Bug 425488 Underlines are too far from text (e.g. Gmail links) r+b1.9=stuart 2008-03-29 15:27:25 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
7ffca204c7 Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:40:02 -07:00
vladimir@pobox.com
806f7572fd b=425593, print failure with 'some printing functionality not implemented' message (it\'s NS_OK, really!); r=stuart 2008-03-28 00:13:37 -07:00
pavlov@pavlov.net
987abc1e3e bug 424945. reduce GDI object use by using the selected font weight and rounded font size (when no size adjust) for doing cache lookups. r=vlad 2008-03-27 16:30:43 -07:00
jruderman@hmc.edu
daae248002 Add a crashtest 2008-03-26 19:40:46 -07:00
vladimir@pobox.com
c3bf671567 b=409953; deref of null pointer on cancel of print-to-file (ignoring errors during printing is bad, mmmkay?); r=stuart 2008-03-26 18:21:46 -07:00
jruderman@hmc.edu
2110063ad2 Adding a crashtest. 2008-03-26 18:20:59 -07:00
jruderman@hmc.edu
5523660f04 Add crashtests 2008-03-26 16:23:43 -07:00
masayuki@d-toybox.com
9ff1d27f63 Bug 425249 gfxWindowsPlatform::InitBadUnderlineList() is broken by bug 424018 r+b1.9+a1.9b5=stuart 2008-03-26 14:43:43 -07:00
pavlov@pavlov.net
858afd3940 bug 424018. fix ts regression by loading character maps lazily. r=vlad 2008-03-26 14:32:51 -07:00
pavlov@pavlov.net
ec43cada45 backing out previous patch. 2008-03-26 13:24:37 -07:00
pavlov@pavlov.net
8dd5ec194a bug 424018. make character map loading lazy to fix ts regression. r=vlad a=beltzner 2008-03-26 11:02:57 -07:00
reed@reedloden.com
beb2bcda05 Bug 424650 - "Wrong nsAutoPtr usage break Mingw build" [p=Techrazy.Yang@gmail.com (Bo Yang) r=stuart a1.9b5=beltzner] 2008-03-24 21:46:30 -07:00
pavlov@pavlov.net
49d256e3b7 backing out trial patch for bug 424018. 2008-03-23 01:23:45 -07:00
pavlov@pavlov.net
0643e29f3c trial run for bug 424018. trying to fix Ts regression 2008-03-22 22:41:52 -07:00
pavlov@pavlov.net
79876622a0 bug 424566. fix crash in font selection. r/a=vlad 2008-03-22 18:13:10 -07:00
pavlov@pavlov.net
6eb12f095d bug 424165. clamp font weights from the OS to be within 100 and 900. r/a=vlad 2008-03-21 21:16:00 -07:00
pavlov@pavlov.net
e0600d71d3 bug 399636. make symbol fonts behave in unexpected ways. r=vlad a=beltzner 2008-03-21 15:19:12 -07:00
pavlov@pavlov.net
c70b188d3d bug 424398. fix crash when installing new fonts while loading pages. r=vlad a=beltzner 2008-03-21 14:22:29 -07:00
pavlov@pavlov.net
ad1544830c bug 418384. use GDI when Uniscribe doesn't like a font. Fixes crash. r=vlad a=beltzner 2008-03-21 13:22:58 -07:00
pavlov@pavlov.net
1f45c5e6ac bug 424165. Fixes crashes and problems with choosing a bold font when we should pick a lighter one. r=vlad a=beltzner 2008-03-20 15:09:45 -07:00
pavlov@pavlov.net
f06dca55e3 bug 382542. support synthetic bold for fonts. r=vlad 2008-03-19 22:35:05 -07:00
pavlov@pavlov.net
797b22d6ab bug 382542. fix problems with font fallback and font variations. r=vlad/jdaggett 2008-03-19 17:41:19 -07:00
jdaggett@mozilla.com
a4df87005a Bug 364713. Synthetic bolding/italics on mac using double-strike and font matrix skew. r=vlad,stuart, sr=stuart 2008-03-19 17:02:21 -07:00
dholbert@cs.stanford.edu
203b5735e3 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+ 2008-03-19 13:51:42 -07:00
pavlov@pavlov.net
403fc060ec bug 382542. Deal with different style variations of fonts containing different character maps. r=vlad 2008-03-18 17:06:55 -07:00
vladimir@pobox.com
5b4ea270a2 b=422661, long table border rendered incompletely (wrong coordinate conditioning in gfxRect), r+sr=roc 2008-03-18 13:30:16 -07:00
vladimir@pobox.com
cf1fc3fd9a b=421422, cairo upgrade ; r=me 2008-03-14 20:44:23 -07:00
pavlov@pavlov.net
64b1e11538 bug 396315. Fixing type1 fonts on Windows. r=vlad 2008-03-14 16:02:32 -07:00
dholbert@cs.stanford.edu
dfa358c900 Backing out Bug 417356, due to pagination reftest failures. 2008-03-14 01:50:13 -07:00
jdaggett@mozilla.com
fe4a01e013 Bug 408965. Cmaps for fonts with Unicode-platform format-12 cmaps are not read (patch by Jjgod Jiang). r+sr=stuart 2008-03-14 01:35:35 -07:00
dholbert@cs.stanford.edu
b847cc90cc Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+ 2008-03-14 00:48:04 -07:00
pavlov@pavlov.net
4e4415d384 bug 420675. shouldn't be bolding weight 500. r=vlad 2008-03-13 23:17:25 -07:00
masayuki@d-toybox.com
75cfe2466f Bug 390901 CJK - font-name is not recognised correctly in preferences p=me+jdagett(mac part)+kerlt(fontconfig part) r=jdagett+me+stuart+mconnor b1.9=stuart 2008-03-13 03:32:50 -07:00
pavlov@pavlov.net
42c23b875c bug 396315. get type1 fonts fonts mostly displaying correctly. (also fixes bug 410801. use postscript opentype fonts for fallback) r=vlad 2008-03-12 21:16:05 -07:00
pavlov@pavlov.net
7911a69906 bug 396315. get type1 fonts fonts mostly displaying correctly. (also fixes bug 410801. use postscript opentype fonts for fallback) r=vlad 2008-03-12 21:15:24 -07:00
masayuki@d-toybox.com
821cf1156c Bug 417014 Need blacklist system for underline offset adjusting of CJK fonts which have wrong underline offset r=roc+stuart, sr=roc, b1.9=stuart 2008-03-12 19:36:58 -07:00
reed@reedloden.com
30f5471b69 Bug 385516 - "Console is spewed with WARNING: empty langgroup" (Add default constructor to gfxFontStyle and use it) [p=wasti.redl@gmx.net (Sebastian Redl) r=stuart a1.9=damons] 2008-03-12 03:52:58 -07:00
jruderman@hmc.edu
1ec364a8a5 Add crashtests 2008-03-11 17:42:51 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
karlt+@karlt.net
3f2978a173 Bug 421955. combining mark at start of text run rendered as NUL hex box or garbage. r=roc, a1.9=damons 2008-03-11 00:04:31 -07:00
roc+@cs.cmu.edu
11aa232422 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu
72bddc7c36 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com
104f6a38a1 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
jdaggett@mozilla.com
1212e6b6c2 Bug 421135. Fix typo in setting of mLastPrefFirstFont. r+sr=vlad 2008-03-05 17:47:33 -08:00
blassey@mozilla.com
92c51991b0 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
jdaggett@mozilla.com
fe4a934348 Bug 420822. Missing 500 weight font should fallback to lighter weights. r+sr=stuart 2008-03-04 02:24:32 -08:00
roc+@cs.cmu.edu
4815c48c47 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
d8ef70bf14 Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 00:21:34 -08:00
roc+@cs.cmu.edu
b9eca15a36 Bug 419095 crashtest 2008-03-03 18:42:11 -08:00
roc+@cs.cmu.edu
d7fe999fe7 Crashtest for bug 416637 2008-03-03 18:37:35 -08:00
jdaggett@mozilla.com
b6cc0312c3 Bug 419757. Cache codepoints for which no font matches on windows. r+sr=stuart 2008-03-03 18:34:05 -08:00
roc+@cs.cmu.edu
caf967a145 Bug 416637. There might be some skipped characters before standalone combining marks at the start of a textrun. r=vlad 2008-03-03 18:30:20 -08:00
joshmoz@gmail.com
9d15dd6a9e always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 15:24:53 -08:00
jdaggett@mozilla.com
ea95d72bfc Bug 419370. Allow single face font families, specified in a pref setting. r+sr=stuart 2008-02-26 00:00:44 -08:00
roc+@cs.cmu.edu
4db6cb1c6f Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad 2008-02-24 17:24:41 -08:00
roc+@cs.cmu.edu
29613b66c2 Bug 418754. Fix Mac clustering... we shouldn't set a glyph using SetSimpleGlyph if it's not the start of a cluster. Also fixes an indexing error in ligature detection. r=jdaggett,a=beltzner 2008-02-21 17:12:41 -08:00
jdaggett@mozilla.com
8d2e67363f Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. Now with no-leak technology. r+sr=roc 2008-02-20 18:46:01 -08:00