Commit Graph

609 Commits

Author SHA1 Message Date
pavlov@pavlov.net
50c94f8f78 bug 399813. set maxAdvance correctly. r=roc a= beltzner 2007-11-01 13:51:05 -07:00
pavlov@pavlov.net
1ef66b82b8 bug 390898. fix crash on 64bit machines when dragging and dropping. patch from Martin Stransky <stransky@redhat.com>. r=vlad a=beltzner 2007-10-30 17:58:44 -07:00
karlt+@karlt.net
fcb9603fbc Bug 399556: don't pango_fc_font_map_shutdown in release builds. r=pavlov, aM9=beltzner 2007-10-30 15:35:21 -07:00
vladimir@pobox.com
4f2baaaa39 b=384681, cairo only has 16 bit coordinate space followup patch, r=stuart, aM9=drivers 2007-10-29 12:37:59 -07:00
pavlov@pavlov.net
3d71671cd3 bug 399556. only clean up cairo in debug/test builds. r=vlad a=beltzner 2007-10-25 18:21:50 -07:00
mats.palmgren@bredband.net
59e6298aff * make cairo_quartz_surface_to_quartz() return NULL if it's not a valid quartz surface and add null-check at call sites. * fix a couple of leaks under OOM * fix a warning about missing initializers for cairo_quartz_surface_backend b=397293 r+sr+a=vladimir 2007-10-25 08:49:25 -07:00
longsonr@gmail.com
18e83e393c Bug 400025 - stroke on text is too big on Windows after landing of bug 384681. r+sr+a+aM9=vladimir 2007-10-25 04:55:19 -07:00
smontagu@smontagu.org
21d673a398 Fix the positioning of diacritics in right-to-left languages and clean up a bunch of typos in bidi reftests. Bug 386573, r+sr=roc, a=vlad 2007-10-25 02:32:01 -07:00
ginn.chen@sun.com
6b4976641b Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine r+sr+a=vladimir 2007-10-24 23:49:10 -07:00
roc+@cs.cmu.edu
4b80cff404 Bug 396321. Make gfxTextRunWordCache strip bidi control characters when it creates a text run, ensuring that platform text engines never see such characters. r=pavlov,a=vlad 2007-10-24 14:39:23 -07:00
jdaggett@mozilla.com
9061c61d0a Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
roc+@cs.cmu.edu
19579790dd Bug 395458. Blacklist more characters that cause problems when passed to font engines. r=pavlov,a=vlad 2007-10-23 17:15:10 -07:00
reed@reedloden.com
918a9ce9c1 Bug 391295 - "APNG blending mode APNG_BLEND_OP_SOURCE not implemented" [p=asmith15@littlesvr.ca (Andrew Smith) r=stuart a1.9=damons] 2007-10-23 12:33:20 -07:00
mozilla@weilbacher.org
ed87e29a3e [OS/2] Bug 371505: finally fix repaint issues with Thebes 2007-10-22 10:59:24 -07:00
mozilla@weilbacher.org
51a977b0a7 [OS/2] Bug 381333: fail metrics computation when face cannot be locked (fixes crash with font-size:0) 2007-10-19 12:24:03 -07:00
reed@reedloden.com
ce7094da13 Bug 393630 - "Potential crash on oom in GenerateAlternativeString" [p=masayuki@d-toybox.com (Masayuki Nakano) r=stuart a1.9=damons] 2007-10-19 01:10:28 -07:00
benjamin@smedbergs.us
2bd5a10828 Bug 398566 - Set MOZ_FIX_LINK_PATHS unconditionally, r=luser a=sayrer 2007-10-13 14:13:50 -07:00
reed@reedloden.com
80990f6596 Bug 394279 - "nsRect::Contains() should always succeed if the parameter rect is empty" [p=bugspam.Callek@gmail.com (Justin Wood [Callek]) r+sr=roc a1.9=mconnor] 2007-10-12 16:12:16 -07:00
reed@reedloden.com
bdbb4df157 Bug 386065 - "legend {font-size:0;} still shows the text (yahoo.com mainpage)" [p=chris@pearce.org.nz (Chris Pearce) r+sr=roc a=blocking1.9+] 2007-10-11 21:22:25 -07:00
karlt+@karlt.net
15267eb778 Bug 397288: use CreateGlyphRunsItemizing when CreateGlyphRunsFast fails. r+a=pavlov 2007-10-11 18:05:16 -07:00
vladimir@pobox.com
26a5b75ebf b=384681, switch cairo into 24.8 fixed-point mode. r+sr+a=roc 2007-10-09 16:03:24 -07:00
dbaron@dbaron.org
38cca4c294 Remove nsFontList/nsIFontList. b=397813 r+sr+a1.9=pavlov 2007-10-07 22:01:49 -07:00
bzbarsky@mit.edu
12130e0ab9 Fix build bustage when building with old enough gtk. Bug 362682 followup, r=stuart 2007-10-07 16:09:55 -07:00
pavlov@pavlov.net
b2a85e03a8 removing code that breaks when compiled with newer pangos 2007-10-07 15:52:33 -07:00
pavlov@pavlov.net
1f462f4104 removing printf that snuck in. 2007-10-06 14:07:32 -07:00
pavlov@pavlov.net
73d97b6c94 bug 362682. re-re-landing linux text goodness. r=vlad, patch by me and Behdad Esfahbod <mozilla@behdad.org>. 2007-10-06 00:26:13 -07:00
vladimir@pobox.com
51c2b1c2b4 b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
reed@reedloden.com
77bec1d48d s/ifeq/ifneq/ to make the check for only Cocoa instead of non-Cocoa (fallout from bug 397834). 2007-10-02 01:26:15 -07:00
reed@reedloden.com
85c4f45da7 Possible bustage fix for bug 397834. 2007-10-02 00:58:05 -07:00
reed@reedloden.com
ed61342ceb Bug 397834 - "Clean up gfx and gfx/src makefiles" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=roc] 2007-10-02 00:39:20 -07:00
roc+@cs.cmu.edu
1fb7f38610 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
roc+@cs.cmu.edu
aa2f1bb4bf Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
07952e214b Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
reed@reedloden.com
05841c0667 Bug 367281 - "Remove SetImageData/SetAlphaData from gfxImageFrame" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a1.9=stuart] 2007-09-30 20:32:40 -07:00
masayuki@d-toybox.com
441b843142 Bug 395866 font fallback does not respect stylesheet font list r=vlad, b1.9=stuart 2007-09-28 10:33:50 -07:00
joshmoz@gmail.com
6ea83c78e0 fix major font problem when using the Mac OS X 10.5 SDK. Patch by John Daggett. b=397454 r=roc/vlad sr=roc a=pav 2007-09-28 09:51:11 -07:00
pavlov@pavlov.net
6a813422a6 backing out, again.. not sure what the leaks are. 2007-09-27 17:15:59 -07:00
pavlov@pavlov.net
4ca7fa0c65 unlock the right object. 2007-09-27 16:37:31 -07:00
pavlov@pavlov.net
cec4899e27 unlock causes other badproblems. 2007-09-27 16:35:55 -07:00
pavlov@pavlov.net
af844f43c0 removing some tabs that snuck in + fixing leak by unlocking the FT_Face after we lock it. hopefully fixing leaks caused by previous patch 2007-09-27 16:31:29 -07:00
pavlov@pavlov.net
cdaedc6fdf whoops, this shouldn't have gone in 2007-09-27 16:04:14 -07:00
pavlov@pavlov.net
57cf17aabe bug 362682. relanding linux text goodness. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-27 15:15:51 -07:00
dbaron@dbaron.org
aef9a7524d Remove freetype2 code, which was used only by the old gfx code. b=389697 r+a1.9=vlad 2007-09-27 13:44:51 -07:00
mozilla@weilbacher.org
9d5c0f3120 [OS/2] Bug 397514: Fix build break following for bug 96041, p=wuno, r=me 2007-09-27 09:41:46 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
smontagu@smontagu.org
4b4bd5501f Set fLogicalOrder in the SCRIPTITEM before copying to the ranges so that ScriptPlace has it set. Bug 395676, r+blocking1.9=pavlov 2007-09-25 08:41:34 -07:00
roc+@cs.cmu.edu
737c2306c1 Bug 96041. Adding win32 glyph extents patch to cairo so it doesn't get lost. 2007-09-24 18:00:24 -07:00
vladimir@pobox.com
96a878f5a9 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
dholbert@cs.stanford.edu
ecb8184e90 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
vladimir@pobox.com
44c6413c55 b=391184, accidentally blew away this patch with cairo update 2007-09-20 15:34:31 -07:00
vladimir@pobox.com
77096b4031 b=838960, ugprade cairo to 1.5.x; and b=377336, printing page from win32 results in hung app, r=stuart 2007-09-20 12:24:47 -07:00
smontagu@smontagu.org
5066adf227 Display one hex box with six digits for non-BMP codepoints with no glyph. Bug 376532, r+sr+a=roc 2007-09-20 03:16:15 -07:00
pavlov@pavlov.net
ba97302f0b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 16:53:09 -07:00
pavlov@pavlov.net
7ce9ed1741 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 15:18:42 -07:00
roc+@cs.cmu.edu
559a8984a7 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
mozilla@weilbacher.org
bb46dfab9e [OS/2] Bug 395301: Move offscreen surface creation from gfxOS2Platform to gfxOS2Surface 2007-09-18 14:20:25 -07:00
masayuki@d-toybox.com
1173d0d90c Bug 380026 "text-decoration: underline" for CJK characters is positioned higher than expected r+a=vlad 2007-09-18 02:40:24 -07:00
sayrer@gmail.com
1f479a44ac Bug 391890. leaks from pixman_rect_alloc within _cairo_gstate_clip drawing borders. Patch by Vladimir Vukicevic. r/sr=stuart, a=mconnor 2007-09-11 13:15:14 -07:00
sayrer@gmail.com
a8aae62a4c Bug 393324. cairo leak in nsNativeThemeGTK::DrawWidgetBackground. r/sr=stuart, a=mconnor 2007-09-11 13:11:12 -07:00
mats.palmgren@bredband.net
26c2c2b87a [OS/2] Remove non-cairo OS2 gfx code from the tree. b=389729 r=mozilla@Weilbacher.org 2007-09-08 09:22:56 -07:00
mozilla@weilbacher.org
ed621ca158 [OS/2] Creation of a minimal 1x1 surface is good enough, and we always own the PS in the gfxOS2Surface(HWND) constructor. Part of work in bug 371505. 2007-09-08 08:29:21 -07:00
mozilla@weilbacher.org
d473eff5d6 [OS/2] Make debug output in gfxOS2Surface a bit more useful 2007-09-08 07:50:09 -07:00
masayuki@d-toybox.com
bc4a238d72 backing out previous checked-in, because some tests are failed in tinderbox 2007-09-05 16:46:09 -07:00
masayuki@d-toybox.com
60b878b0b3 Bug 380026 'text-decoration: underline' for CJK characters is positioned higher than expected. r+a=vlad 2007-09-05 16:03:04 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
roc+@cs.cmu.edu
452c3645a1 Bug 394384. Fix accounting error when tracking the number of times a textrun is referenced from the word cache. debug-only. r+a=pavlov 2007-09-03 20:40:14 -07:00
roc+@cs.cmu.edu
a44b81dc92 Bug 388367. Treat form-feed as one of the characters that always breaks up textrun words and should never be passed to platform textrun code. r+a=vlad 2007-09-03 19:38:33 -07:00
masayuki@d-toybox.com
5a84442569 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
masayuki@d-toybox.com
bfe2436be6 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
8541f8f7f0 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
asqueella@gmail.com
c583b4356b Bug 392927 - Kill old gfx code in nsIImage p=Jonathan Steele <xfsunoles@gmail.com> r+a=pavlov 2007-09-02 09:17:37 -07:00
mozilla@weilbacher.org
521c5e1a3d [OS/2] Bug 381330: use font resolution instead of screen resolution for system fonts 2007-08-31 11:24:49 -07:00
mats.palmgren@bredband.net
2c8d132bca Free resources more sensibly when _cairo_scaled_font_init() fails. Use true NOOP mutex macros to avoid similar deadlocks in the future. b=378716 r+sr=vladimir a=vladimir 2007-08-31 00:53:53 -07:00
masayuki@d-toybox.com
f05b084582 Bug 393819 Assertion: What's this case?: 'result == 0 || result == 1' in gfxFontconfigUtils when different fonts have a common family name. patch by Karl Tomlinson <mozbugz@karlt.net> r+a=pavlov 2007-08-30 23:30:59 -07:00
martijn.martijn@gmail.com
7f8e139020 Bug 394223 - Mingw build error in gfxWindowsFonts.cpp:1460, r+a=vlad 2007-08-30 17:09:40 -07:00
tor@cs.brown.edu
280f80abef Bug 393109 - treat system colors as output device values. r+a=pavlov 2007-08-30 09:21:16 -07:00
pavlov@pavlov.net
448c760419 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg. original patch from David Humphrey <david.humphrey@senecac.on.ca> 2007-08-28 13:44:12 -07:00
roc+@cs.cmu.edu
863902e5d6 Bug 390234. Coalesce glyph runs after sorting them, gets them into the canonical form. Also add debug code to help track down textrun-cache related crashers. r=vlad 2007-08-26 16:44:00 -07:00
philringnalda@gmail.com
ca955a1140 Bug 379886 - Font preferences panel selects random fonts in cairo builds, patch by Karl Tomlinson <mozbugz@karlt.net>, r+sr=vlad/pavlov 2007-08-26 14:34:03 -07:00
smontagu@smontagu.org
f5a37e33c7 Override fLinkBefore except for the first range of an item, and fLinkAfter except for the last range. Bug 391045, r+a=pavlov 2007-08-26 10:28:56 -07:00
philringnalda@gmail.com
d797cd5094 Bug 298717 - Crash on multipart/x-mixed-replace: gif,jpeg,jpeg sequence [@ nsJPEGDecoder::OutputScanlines][@ gdk_rgb_convert_0888][@ gdk_rgb_init], patch by andrew smith <asmith15@learn.senecac.on.ca>, r+sr=pavlov, a1.9=itsablocker 2007-08-25 21:38:17 -07:00
asqueella@gmail.com
1e536127c0 Bug 216682 - Eliminate DrawToImage p=Alfred Kayser <alfredkayser@nl.ibm.com> r=tor, sr=pavlov, a=pavlov 2007-08-25 12:18:44 -07:00
asqueella@gmail.com
f84d6685a6 Bug 390787 - Many fonts and widgets do not display: assert that cairo_scaled_font_create succeeds but recover if it doesn't p=Karl Tomlinson <mozbugz@karlt.net> r+sr=pavlov a=1.9 blocker 2007-08-25 11:33:45 -07:00
pavlov@pavlov.net
8dad34c0fb bug 393632. cache cjk resolved font list as well. r=elif 2007-08-24 17:00:41 -07:00
pavlov@pavlov.net
0f6d3000c8 bug 393626. fixing a bug causing us to always append the system default font to the list of font entries... r=elif 2007-08-24 16:05:07 -07:00
pavlov@pavlov.net
2a422a28e9 bug 388706. cache resolved fonts per language group. r=elif 2007-08-24 12:41:16 -07:00
dolske@mozilla.com
ecc56662ed Bug 384041: "we can't do this with the old image code" in console. p=rich@rd.gen.nz, r=vlad, a=vlad 2007-08-23 17:53:58 -07:00
masayuki@d-toybox.com
624fdaa646 b=392252 fix bustage 2007-08-22 04:30:32 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
mozilla@weilbacher.org
c838dc2d9c [OS/2] Bug 381333: replace method to scale from font units to pixels. Instead of gfxPangoFonts-like macros use the procedure outlined in the FreeType tutorial. This takes advantage of gfxFloats. 2007-08-19 05:36:21 -07:00
mozilla@weilbacher.org
06cd0f29f3 [OS/2] Bug 381333: - use emHeight instead of xHeight to compute properties in case OS/2 font table is not present - use FT_LOAD_NO_SCALE before measuring characters to get font units - add adjusted size calculation similar to other platforms For some reason these changes also fix the Acid2 test. 2007-08-19 05:27:23 -07:00
mozilla@weilbacher.org
d15dfeee5b [OS/2] Bug 381333: make debug output more helpful 2007-08-19 05:05:23 -07:00
sharparrow1@yahoo.com
99229009b5 Bug 382458, additional patch to fix repainting problems with theming and pixel rounding. r=vlad, a=blocking1.9+ 2007-08-17 13:30:23 -07:00
vladimir@pobox.com
10ea784eab b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 12:54:58 -07:00
ginn.chen@sun.com
6166df71f7 Bug 391184 Firefox crashed [@ _get_bitmap_surface] div zero in _cairo_malloc_ab macro r+a=vladimir 2007-08-15 20:53:19 -07:00
mats.palmgren@bredband.net
354e680d1b Backing out last change since it caused crashes on Windows (bug 392214). b=390898 2007-08-14 12:03:57 -07:00
masayuki@d-toybox.com
5dcd053a56 Bug 365414 overflowed decoration lines are not erased/painted r+sr=roc 2007-08-14 09:39:54 -07:00
mats.palmgren@bredband.net
bce3d84005 Bustage fix. b=391243 2007-08-14 04:46:26 -07:00
mats.palmgren@bredband.net
366ef443ee Bandaid for a Cairo crash. b=390898 r+sr=vladimir 2007-08-14 02:48:49 -07:00
mats.palmgren@bredband.net
c366407693 Don't crash when CurrentSurface() or GetDC() return null. b=391243 r+sr+a=vladimir 2007-08-14 02:47:37 -07:00
joshmoz@gmail.com
4090c847e8 Fix font size for submit and file input buttons. b=262191 sr=vlad 2007-08-10 20:22:58 -07:00
pavlov@pavlov.net
22dc8c001a make bitmap fonts support their space character. bug 386389. r=vlad 2007-08-10 13:00:03 -07:00
roc+@cs.cmu.edu
ed8c84cc19 Bug 391068. Fix ATSUI cluster analysis loop. r=vlad,a=pavlov 2007-08-09 19:24:38 -07:00
roc+@cs.cmu.edu
58c739db36 Bug 385719. Allow text substrings passed to gfxTextRun APIs to start or end in the middle of a cluster. r+a=pavlov 2007-08-09 18:35:32 -07:00
vladimir@pobox.com
6d5c29bde2 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 11:54:17 -07:00
vladimir@pobox.com
5b56ef41e2 b=383512, make (win32) gfx support text drawing onto any surface type, r/a=stuart 2007-08-07 15:46:42 -07:00
vladimir@pobox.com
79033ece2f b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r (checking back in, linux failure seemed transient yay) 2007-08-06 20:56:16 -07:00
vladimir@pobox.com
e1124283e2 backing out 390912, not sure what's wrong with linux 2007-08-06 18:52:15 -07:00
vladimir@pobox.com
eb7c87258e b=367036, the bug that won't die, forgot to reapply this patch when I upgraded cairo (background of images shows as black when printed) 2007-08-06 18:15:56 -07:00
vladimir@pobox.com
8445b79997 b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r 2007-08-06 18:14:47 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
sdwilsh@shawnwilsher.com
bbac20edf7 Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9] 2007-08-06 10:45:57 -07:00
mats.palmgren@bredband.net
454cf053a6 Bail out of gfxFont::Draw if setting up the Cairo font fails. b=390476 r+sr=pavlov a19=pavlov 2007-08-06 05:30:13 -07:00
vladimir@pobox.com
d07a557af0 b=390798, animated gifs shrunk to favicon size; also b=390622, yahoo mail beta misrendered; r=stuart 2007-08-05 21:14:14 -07:00
sharparrow1@yahoo.com
3d08dbbf75 Bug 389938 - Full page zoom does not affect text with CSS font set to message-box. r+sr=roc, a=pavlov 2007-08-03 16:39:37 -07:00
sharparrow1@yahoo.com
4571a3e298 Bug 390039: antialiasing incosistent when using full page zoom. r=vlad, a=pavlov 2007-08-03 16:37:17 -07:00
masayuki@d-toybox.com
70fdc2568a The additional patch for bug 364786 r=vlad 2007-08-03 11:37:50 -07:00
mozilla@weilbacher.org
926a5510ea [OS/2] Bug 390077: OS/2 build break after integration of lcms (work around OS/2 typedef), p=wuno, r=pavlov 2007-08-03 08:37:27 -07:00
ginn.chen@sun.com
1946aef202 Bug 390113 mozilla should not be compiled with -fast on Solaris r=benjamin 2007-08-02 23:32:33 -07:00
ginn.chen@sun.com
6b4f380cdc Bug 390749 Fix build on Solaris r+a=vladimir 2007-08-02 23:29:31 -07:00
sharparrow1@yahoo.com
90fb49c39b Bug 389459: lines appear when scrolling page while image loading at >144 dpi. r=vlad, a19=dbaron 2007-08-02 14:03:30 -07:00
vladimir@pobox.com
0ec5d02125 avoid divide-by-zero in allocating 0x0 surface 2007-08-02 06:04:39 -07:00
vladimir@pobox.com
7a4a17d1c1 avoid divide-by-zero resulting from push_group 2007-08-02 05:48:30 -07:00
vladimir@pobox.com
8faf0c0219 linux tinderbox fix, thought I fixed this a different way, guess not 2007-08-02 00:11:27 -07:00
vladimir@pobox.com
ee3f91837a b=383960, moz cairo: win32/msvc fixes, disable MMX util it's fixed 2007-08-02 00:02:41 -07:00
vladimir@pobox.com
c93279ad8c b=383960, moz cairo: new cairo-rename.h 2007-08-02 00:02:18 -07:00
vladimir@pobox.com
468916b9a7 b=383960, moz cairo: fix up compilation with in-tree pixman 2007-08-02 00:01:57 -07:00
vladimir@pobox.com
5d3b866bdf b=383960, moz cairo: nonfatal-assertions.patch 2007-08-02 00:01:36 -07:00
vladimir@pobox.com
9d55b98abf b=383960, moz cairo: win32-no-printer-bitblt.patch 2007-08-02 00:01:14 -07:00
vladimir@pobox.com
4611c948ad b=383960, moz cairo: win32-logical-font-scale.patch 2007-08-02 00:00:53 -07:00
vladimir@pobox.com
23b1098ddb b=383960, moz cairo: win32-scaled-font-size.patch 2007-08-02 00:00:32 -07:00
vladimir@pobox.com
bf5d6cb2b6 b=383960, moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-08-02 00:00:10 -07:00
vladimir@pobox.com
a678a5bbd1 b=383960, moz cairo: no longer needed: fbcompose-bandaid.patch 2007-08-01 23:59:49 -07:00
vladimir@pobox.com
594ffc2fe1 b=383960, moz cairo: max-font-size.patch 2007-08-01 23:59:30 -07:00
vladimir@pobox.com
935decd7ff b=383960, Cairo 1.5.x: fix XLIB_XRENDER feature 2007-08-01 23:59:07 -07:00
vladimir@pobox.com
eda0b3d22a b=383960, Cairo 1.5.x: Cairo 2007-08-01 23:58:46 -07:00
vladimir@pobox.com
9002f999f0 b=383960, Cairo 1.5.x: pixman mozilla fixes 2007-08-01 23:57:51 -07:00
vladimir@pobox.com
92f300e644 b=383960, Cairo 1.5.x: pixman 2007-08-01 23:54:40 -07:00
vladimir@pobox.com
9521c6d47f b=390202, trunk topcrash gfxFont::Draw, r=stuart,a=damon 2007-07-31 13:34:43 -07:00
sharparrow1@yahoo.com
914f1c7143 Update UUID after checkin for bug 4821 2007-07-26 13:27:21 -07:00
roc+@cs.cmu.edu
d1da448c24 Trivial fix that should fix Linux reftests 2007-07-26 04:22:57 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
sharparrow1@yahoo.com
581908041d Bug 376124: Some rounding fixes related to a scrolling paint bug. r=vlad 2007-07-25 10:19:40 -07:00
vladimir@pobox.com
7bffc1996e cairo backout 2007-07-24 12:26:01 -07:00
vladimir@pobox.com
c1191c99ae backing out cairo update, again 2007-07-24 12:24:26 -07:00
vladimir@pobox.com
43945fe5db b=383960, moz cairo: new cairo-rename.h 2007-07-24 10:46:07 -07:00
vladimir@pobox.com
0c2e8ee9a7 b=383960, moz cairo: MSVC compilation fixes 2007-07-24 10:45:51 -07:00
vladimir@pobox.com
6870aa70dc b=383960, moz cairo: fix up compilation with in-tree pixman 2007-07-24 10:43:30 -07:00
vladimir@pobox.com
e6da053270 b=383960, moz cairo: nonfatal-assertions.patch 2007-07-24 10:43:10 -07:00
vladimir@pobox.com
922b98010b b=383960, moz cairo: win32-no-printer-bitblt.patch 2007-07-24 10:38:48 -07:00
vladimir@pobox.com
f3398db74d b=383960, moz cairo: win32-logical-font-scale.patch 2007-07-24 10:38:29 -07:00
vladimir@pobox.com
6ee5757328 b=383960, moz cairo: win32-scaled-font-size.patch 2007-07-24 10:38:12 -07:00
vladimir@pobox.com
391acff9d5 b=383960, moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-07-24 10:36:53 -07:00
vladimir@pobox.com
451a46fe7f b=383960, moz cairo: no longer needed: fbcompose-bandaid.patch 2007-07-24 10:36:36 -07:00
vladimir@pobox.com
f190e46451 b=383960, moz cairo: max-font-size.patch 2007-07-24 10:36:18 -07:00
vladimir@pobox.com
a860149c89 b=383960, Cairo 1.5.x: fix XLIB_XRENDER feature 2007-07-24 10:33:26 -07:00
vladimir@pobox.com
4d5d21aae6 b=383960, Cairo 1.5.x: Cairo 2007-07-24 10:29:35 -07:00
vladimir@pobox.com
0cc39b0da6 b=383960, Cairo 1.5.x: pixman mozilla fixes 2007-07-24 10:11:07 -07:00
vladimir@pobox.com
42010377a3 b=383960, Cairo 1.5.x: pixman 2007-07-24 10:08:21 -07:00
jwalden@mit.edu
24e0e3c1a9 --enable-tests bustage fix, after color management landing. r=sparky 2007-07-23 18:06:07 -07:00
pavlov@pavlov.net
d04ad3b03b adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me 2007-07-23 15:02:17 -07:00
longsonr@gmail.com
f72b06b167 Bug 388385 - Memory leak with SVG patterns and clipPaths. r+sr=vladimir 2007-07-23 01:54:52 -07:00
ted.mielczarek@gmail.com
59fd01917d fix thunderbird bustage from bug 388663 2007-07-19 08:21:13 -07:00
pavlov@pavlov.net
5361b70e67 export thebes symbols from libxul. bug 388663. r=vlad 2007-07-18 17:13:14 -07:00
benjamin@smedbergs.us
a5b168b6fe Bug 388542 - --disable-libxul broken in thebes (in some circumstances), r=vlad 2007-07-18 08:52:41 -07:00
vladimir@pobox.com
ea6bd8313f b=364300, monospace font sometimes isn't with ATSUI, breaking cols attribute of textarea, r+sr=roc 2007-07-18 07:41:40 -07:00
vladimir@pobox.com
4d0a020e08 b=364786, improve Mac font selection, r=masayuki,sr=roc 2007-07-18 07:22:06 -07:00
vladimir@pobox.com
1d61f44787 b=386895, speed up gfx text rendering (microbenchmark), r=roc 2007-07-17 16:13:48 -07:00
vladimir@pobox.com
350aabc65d b=386897, compile cairo/pixman with full speed optimization, r=roc,sr=stuart 2007-07-17 16:08:32 -07:00
dbaron@dbaron.org
75c96c202a Move the code needed to get language group-specific font enumeration working and remove the rest of nsFontConfigUtils. b=379888 r=vlad 2007-07-17 14:58:45 -07:00
roc+@cs.cmu.edu
df3a6a3d68 Adding comment. 2007-07-16 16:45:16 -07:00
roc+@cs.cmu.edu
236f0ad4d2 Fixing reftest failure, hopefully. r=pavlov 2007-07-16 16:44:41 -07:00
roc+@cs.cmu.edu
d1797af5ad Bug 386920. Preserve line-break data when copying glyphs. r=pavlov 2007-07-16 15:50:35 -07:00
roc+@cs.cmu.edu
9906cb5415 Bug 387703. Make all-8bit Unicode text take the Xft fast path if that's enabled, to ensure it's displayed consistently. r=pavlov 2007-07-16 15:49:10 -07:00
smontagu@smontagu.org
70ab11577d Process glyphs in right-to-left clusters in reverse order. Bug 387653, r=vlad 2007-07-15 23:18:08 -07:00
kherron@fmailbox.com
fda0e634fc Bug 337771 - Native -moz-appearance work for menus and toolbars on Windows XP. Patch by Simon Bünzli <zeniko@gmail.com>. r=emaijala, sr=bzbarsky. 2007-07-14 08:11:37 -07:00
roc+@cs.cmu.edu
98e06e2acf Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov 2007-07-13 01:09:25 -07:00
pavlov@pavlov.net
60b0c9dcbf speed up setting of code points. bug 386375. r=vlad 2007-07-12 11:14:59 -07:00
pavlov@pavlov.net
83eb81a853 re-enabling kerning on the mac. bug 387197. r=vlad 2007-07-11 10:41:26 -07:00
benjamin@smedbergs.us
27c6275bc8 Bug 386445 - mac build stops with "multiple definitions of symbol nsINIParser::GetSrings", also changes to building mac dylibs with -single_module, r=luser,jag 2007-07-11 10:26:11 -07:00
ginn.chen@sun.com
33f5ece160 Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine
r=vladimir
2007-07-10 23:40:38 -07:00
sharparrow1@yahoo.com
41e3c663f8 Bug 382595: Lines across embedded svg when scrolling. Followup rounding fix. r+sr=roc 2007-07-08 22:04:01 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
smontagu@smontagu.org
88c2c40931 Add an mIsRTL flag to the textrun word cache hash key. Bug 386339, r+sr=roc 2007-07-05 22:52:56 -07:00
mozilla@weilbacher.org
1dae669f68 [OS/2] Fix build break in gfxOS2Fonts.cpp (mimic gfxPangoFonts change that supposedly came from Bug 385423) 2007-07-05 13:50:44 -07:00
mats.palmgren@bredband.net
4cb9addd13 Remove non-cairo PostScript support. b=385577 r=kherron sr=pavlov 2007-07-05 04:29:51 -07:00
roc+@cs.cmu.edu
fef47b9b61 Bug 385423. Force ZWSP, PSEP and LSEP to be treated as zero-width invisible and not passed into platform textrun creation. Avoids potential bugs and forces consistent handling. r=vlad 2007-07-04 20:07:25 -07:00
roc+@cs.cmu.edu
e58660ef2b Bug 386804. Make 'cache not empty' assertion into a warning. r=vlad 2007-07-04 20:05:06 -07:00
vladimir@pobox.com
cd8d756678 b=361695, [mac] bidi mirroring proken with some fonts, r=vladimir, patch from jdaggett@mozilla.com 2007-07-04 02:19:27 -07:00
roc+@cs.cmu.edu
b2190168cd Fixing bustage 2007-07-03 21:07:01 -07:00
roc+@cs.cmu.edu
33428c5bf6 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu 2007-07-03 20:39:01 -07:00
roc+@cs.cmu.edu
fb292fb269 Bug 386211. Turn 'fonts still alive' assertion into a warning. r=vlad 2007-07-03 20:24:04 -07:00
longsonr@gmail.com
fc778c5615 Bug 385228 - ASSERTION: Surface size too large (would overflow) - change asserts to warnings. r+sr=vladimir 2007-07-03 02:16:50 -07:00
longsonr@gmail.com
424a4061f8 Bug 383872 - invalid image height assertion with svg foreignObject element, background image, height: 0.5px. r=vladimir,sr=roc 2007-07-03 01:53:03 -07:00
benjamin@smedbergs.us
75dc0cfd4c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
roc+@cs.cmu.edu
6ebd93058f Bug 386122. Make textrun storage metrics only defined for DEBUG_roc. 2007-07-01 18:24:56 -07:00
roc+@cs.cmu.edu
8e91fac244 Bug 9101. Fix BreakAndMeasureText to save/restore hyphenation state correctly. r=pavlov 2007-07-01 18:12:45 -07:00
mozilla@weilbacher.org
296a7940d1 [OS/2] Fix handling of chars >127 in MakeTextRun and remove unused function arguments.
Part of work on Bug 381333 (just as my previous checkin).
2007-06-30 15:19:14 -07:00
mozilla@weilbacher.org
4ee72ec0b6 [OS/2] Get gfxOS2Font::GetMetrics() in order
- metrics.y_ppem should not get scaled
- if the space width is too small it's the fault of the font, don't scale it
- add mimimum comment for the function
- add some more debugging output, we'll probably need it again sometime
2007-06-30 13:20:51 -07:00
vladimir@pobox.com
27a42cc105 backing out but 383960, upgrade to cairo 1.4.10, due to bug 384035 (again) 2007-06-30 03:45:11 -07:00
vladimir@pobox.com
e6e29267c5 b=383960: Upgrade cairo to 1.4.10: moz cairo: nonfatal-assertions.patch 2007-06-30 00:50:54 -07:00
vladimir@pobox.com
e708567179 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-no-printer-bitblt.patch 2007-06-30 00:50:09 -07:00
vladimir@pobox.com
e01ea9a349 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-logical-font-scale.patch 2007-06-30 00:49:36 -07:00
vladimir@pobox.com
4be2e7ed2e b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-scaled-font-size.patch 2007-06-30 00:48:59 -07:00
vladimir@pobox.com
df1af9e6a0 b=383960: Upgrade cairo to 1.4.10: moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-06-30 00:48:18 -07:00
vladimir@pobox.com
8a87c4af84 b=383960: Upgrade cairo to 1.4.10: moz cairo: fbcompose-bandaid.patch 2007-06-30 00:47:44 -07:00
vladimir@pobox.com
7d82c1c6ba b=383960: Upgrade cairo to 1.4.10: moz cairo: max-font-size.patch 2007-06-30 00:46:18 -07:00
vladimir@pobox.com
7a982ad66e b=383960: Upgrade cairo to 1.4.10: Cairo 1.4.10 2007-06-30 00:45:16 -07:00
sharparrow1@yahoo.com
c738ea2df1 Update UUIDs 2007-06-27 15:15:13 -07:00
sharparrow1@yahoo.com
fc25e4dff6 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com
f0d19427b4 Bug 385937: Remove nsIBlender. (forgot to remove this) 2007-06-27 13:13:37 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
sharparrow1@yahoo.com
c99421db28 Bug 382458: Fix rounding problems in Windows theme rendering. r+sr=roc. 2007-06-27 09:42:37 -07:00
roc+@cs.cmu.edu
ee678ee439 Bug 384836. Relanding fix to pass around gfxContexts a bit more instead of hanging on to one in nsTransformedTextRun. r=smontagu,pavlov 2007-06-26 21:22:21 -07:00
pavlov@pavlov.net
d95b7468f0 removing printf 2007-06-26 17:52:41 -07:00
pavlov@pavlov.net
cab0f40712 make sure the length is >= the data we're reading before we read it. hoping to fix 382713. r=roc 2007-06-26 17:34:52 -07:00
sharparrow1@yahoo.com
e8a1d4364b Bug 385923: Remove unused code from nsRenderingContextImpl. rs=pavlov. 2007-06-26 17:24:56 -07:00
dbaron@dbaron.org
d0ed87d4da Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 15:16:34 -07:00
benjamin@smedbergs.us
5ebfce3c70 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
bd5749568a Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
roc+@cs.cmu.edu
4e19947cc9 Bug 384836. Avoid using a stale gfxContext, by not holding onto one in nsTransformedTextRun, passing in a gfxContext when required instead. r=pavlov,smontagu 2007-06-25 21:25:00 -07:00
pavlov@pavlov.net
2af54874be fixing symbol fonts, bitmap fonts and a crash. bugs 385793, 324706, 385795. r=vlad 2007-06-25 14:51:15 -07:00
benjamin@smedbergs.us
035e643c90 Revert all of bug 383167 changes because they're not enough... going to try again later. 2007-06-25 11:40:57 -07:00
benjamin@smedbergs.us
97afb0c802 Bug 383167 - Need buildid in an external file, r=luser sr=jst 2007-06-25 08:25:59 -07:00
mozilla@weilbacher.org
771982213b [OS/2] Fix stupidities about scales when computing font metrics, part of work on Bug 381333 2007-06-24 04:10:03 -07:00
mozilla@weilbacher.org
cba65ecc3d [OS/2] Improve weight matching when creating cairo font, part of work on Bug 381333 2007-06-24 03:00:50 -07:00
roc+@cs.cmu.edu
130e33c3ea Bug 385123. Don't insert spaces after holes while we build a textrun. r=vlad 2007-06-20 12:49:33 -07:00
philringnalda@gmail.com
4a0f8f84bf Bug 384840 - gfxXlibNativeRenderer::DRAW_SUPPORTS_NONDEFAULT_VISUAL should be distinct from DRAW_SUPPORTS_CLIP_LIST, patch by Karl Tomlinson <mozbugz@karlt.net>, r+sr=roc 2007-06-18 21:19:01 -07:00
mats.palmgren@bredband.net
5b1d81411b Don't return values outside the range for PangoWeight (100..900). b=335543 r+sr=vladimir 2007-06-18 20:08:29 -07:00
bzbarsky@mit.edu
e5459dca87 Initialize the thing we're going to test to see whether we
succeeded... otherwise we'll be testing random quantities.  Bug 384264, r+sr=roc
2007-06-18 07:58:29 -07:00
kherron@fmailbox.com
d53765aabc Bug 383853 - Leak in nsThebesDeviceContext when printing. r+sr=roc. 2007-06-16 12:33:50 -07:00
mats.palmgren@bredband.net
672783b34b Bye bye non-cairo GTK gfx. b=383889 r+sr=vladimir 2007-06-15 19:13:52 -07:00
pavlov@pavlov.net
dce0d1d7de bug 342466. make font fallback deterministic. r=vlad 2007-06-15 14:48:59 -07:00
mozilla@weilbacher.org
8af5b1515a [OS/2] Bug 371505: check in preliminary workarounds for Thebes repaint problems based on ideas from Andy Willis 2007-06-14 13:38:55 -07:00
pavlov@pavlov.net
056b16ad58 minor cleanup to make the code more readable. bug 384363. r=vlad 2007-06-13 16:28:25 -07:00
roc+@cs.cmu.edu
702c09b987 Bug 382741. Updating cairo patch list. 2007-06-13 15:49:19 -07:00
roc+@cs.cmu.edu
0a8d95d074 Bug 382741. Make cairo asserts non-fatal. May fix tinderbox issues with crashing with new-textframe. r=vlad 2007-06-13 15:10:23 -07:00
mats.palmgren@bredband.net
3f7e3e99ea Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
joshmoz@gmail.com
d0256b559d use a smaller button font size by default on Mac OS X. b=262191 r/sr=roc 2007-06-12 14:51:10 -07:00
roc+@cs.cmu.edu
ef3b336b06 Bug 384100. Implement word-based textrun cache. r=vlad 2007-06-12 13:56:04 -07:00
pavlov@pavlov.net
d716f72508 use the right length when iterating over the string. bug 384094. r=vlad 2007-06-12 11:54:41 -07:00
pavlov@pavlov.net
cdc3a5f15e Force us to select the same font if we're around joiners. bug 384096. r=vlad 2007-06-12 11:52:32 -07:00
pavlov@pavlov.net
1e671a38e9 initing uninited variables. r=me 2007-06-12 01:39:18 -07:00
leon.sha@sun.com
8460024ccd Bug 342946. The font of the menu will not change with ths gnome application font.Patch by leon.sha@sun.com.roc: review+roc: superreview+ 2007-06-11 22:29:20 -07:00
gavin@gavinsharp.com
797c9d1bd2 Bustage fix: Vlad apparently forgot to back out the changes to this file 2007-06-10 21:39:03 -07:00