Commit Graph

1478 Commits

Author SHA1 Message Date
vladimir%pobox.com
4fabd19939 backing out patch for 332497 in case it caused 334919, stuart will investigate tomorrow 2006-04-21 07:53:18 +00:00
pavlov%pavlov.net
6c1f11b5bb speeding up text measuring when using fallback fonts. bug 332497. r=vlad 2006-04-20 20:42:24 +00:00
cls%seawood.org
00570f4496 Align mingw libs linkage with msvc.
Thanks to Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> for the patch.
Bug #334542 r=cls
2006-04-20 12:59:02 +00:00
cbiesinger%web.de
f026719c17 (part of) bug 333640 link to all required libraries
r=bsmedberg
2006-04-19 20:41:52 +00:00
pavlov%pavlov.net
5bd60e27c6 cap font size. bug 333861 r=vlad 2006-04-19 19:10:52 +00:00
bzbarsky%mit.edu
2b868209b0 Centralize the DPI-getting in thebes/pango. Don't divide by 0. Bug 330957,
r=vlad, sr=dbaron
2006-04-18 15:21:42 +00:00
cls%seawood.org
74ac97fd84 Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg
2006-04-14 22:59:21 +00:00
cbiesinger%web.de
6352695245 bug 333658 also add cairo flags to CFLAGS, because cairo-xlib-utils is a .c
file
r=vlad
2006-04-13 17:05:24 +00:00
roc+%cs.cmu.edu
4e96e616ab Bug 333250. Speed up native theme rendering in cairo by a) not having a clip rect set on the backbuffer surface, so we don't usually don't need to clip native theme rendering and b) creating the backbuffer with GDK so that we don't need to create a GdkPixmap with expensive XGetGeometry round-trip every time a theme wants to draw into it. r=vlad 2006-04-12 21:58:14 +00:00
roc+%cs.cmu.edu
00757ea341 Bug 333586. Fix Solaris bustage. r=vlad 2006-04-12 00:15:46 +00:00
dbaron%dbaron.org
e73700a3f8 Add a missing debugging conditional-printf. b=327878 r+sr=roc 2006-04-10 05:27:25 +00:00
pavlov%pavlov.net
901035901b fixing CSS letter-spacing on windows. bug 327184. r=vlad 2006-04-08 00:41:08 +00:00
pavlov%pavlov.net
617d1aea5d workaround for bitmap fonts. bug 324706. r=vlad 2006-04-07 20:46:22 +00:00
benjamin%smedbergs.us
859f2968c4 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-04-06 14:17:25 +00:00
pavlov%pavlov.net
59b4759574 add type info to thebes. bug 332743. r=vlad 2006-04-04 21:54:22 +00:00
cbiesinger%web.de
0cf032c25b bug 331888. Make cairo-beos work. Requires --enable-pango for now
r=stuart
2006-04-04 21:22:35 +00:00
pavlov%pavlov.net
89d15dc59f free the cairo glyphs. r=vlad 2006-04-01 01:45:51 +00:00
pavlov%pavlov.net
95aa30d1d5 removing unused member variables in thebes code 2006-03-31 23:52:20 +00:00
pavlov%pavlov.net
b0d25063b6 fixing bug where if the first glyph in a string is found but ones later in the string aren't we didn't draw the later ones. patch from Masayuki Nakano <masayuki@d-toybox.com>. bug 328940. r=me 2006-03-31 23:50:58 +00:00
pavlov%pavlov.net
cea27a57e0 fixing mingw issues. bugs 331287, 331329, 331333. patches from cls and hans-andreas engel. r=me 2006-03-28 21:15:01 +00:00
pavlov%pavlov.net
0ee2e0f301 fixing build bustage 2006-03-25 01:05:34 +00:00
pavlov%pavlov.net
714da423c5 speed up image drawing by decoding directly in to 32bpp buffers. bug 331298. r=vlad 2006-03-25 00:34:48 +00:00
vladimir%pobox.com
2506f75279 b=328792, linux cairo builds require Render, r=stuart 2006-03-22 01:15:23 +00:00
vladimir%pobox.com
d5844f978a b=331249, fix image surface stride calculation for RGB24 when allocating data, r=me 2006-03-21 21:51:03 +00:00
pavlov%pavlov.net
279396ea3a removing nsWatchTask, removing cocoa widget dependancies on gfx/src/mac. bug 330786. r=josh 2006-03-17 23:35:39 +00:00
vladimir%pobox.com
10491893d5 Re-landing fixed cairo update, r=pav 2006-03-17 22:24:30 +00:00
vladimir%pobox.com
a3e8a2106f People tell me that quadrupling Tp is bad. Me? I want a second opinion. 2006-03-17 07:44:38 +00:00
vladimir%pobox.com
702e1a67ff b=330738, update in-tree cairo to current cairo head 2006-03-17 04:05:32 +00:00
pavlov%pavlov.net
31ef3d11b6 use the baseclass members instead of declaring new ones. offshoot of 330510. r=vlad 2006-03-14 23:18:42 +00:00
pavlov%pavlov.net
0cffbe252f create fonts lazily. bug 330510. r=vlad 2006-03-14 23:17:55 +00:00
vladimir%pobox.com
024f6bdc6e b=330107, pango font backend truncates float values to ints due to integer PANGO_SCALE, r=dbaron 2006-03-11 01:36:28 +00:00
pavlov%pavlov.net
add8320c31 attempt to unhork build. bug 329315. 2006-03-09 16:04:28 +00:00
pavlov%pavlov.net
464e521f86 attempt to unhork build. bug 329315. undoes fix for 329306. 2006-03-09 16:01:04 +00:00
pavlov%pavlov.net
f0ea84bb78 undoing fix that didn't work 2006-03-09 15:51:51 +00:00
pavlov%pavlov.net
691222c72d attempt to unhork build. bug 329315. undoes fix for 329306. 2006-03-09 09:45:47 +00:00
pavlov%pavlov.net
af146bcb1f making fonts scale based on the ctm on windows. bug 329306. r=vlad 2006-03-09 02:12:15 +00:00
vladimir%pobox.com
5952ca70f8 b=329850, fix thinko in positioning pango runs after the first, r=me 2006-03-09 00:25:53 +00:00
vladimir%pobox.com
385d974e5f b=329841, incorporate late-breaking comments from roc! 2006-03-08 23:47:02 +00:00
vladimir%pobox.com
5267025e36 b=329841, misc thebes fixes/additions, r=pav 2006-03-08 23:40:25 +00:00
pavlov%pavlov.net
938a0e94ac fixing crash when trying to measure or draw 0-length strings.
removing HDC param/member that is no longer used.
bug 329574. r=vlad
2006-03-07 23:45:52 +00:00
vladimir%pobox.com
2f354a2d51 fix build bustage 2006-03-05 09:26:57 +00:00
cbiesinger%web.de
b768303bda bug 329140
- check for pango rather than gtk2 for non-gtk2 specific code
- add pango/cairo cflags where necessary
- don't include gtk headers when not needed
r=vlad
2006-03-04 14:23:39 +00:00
vladimir%pobox.com
2217656e8c Backing out 329306 to see if it fixes 329315 2006-03-04 09:50:26 +00:00
pavlov%pavlov.net
d099b3735d making windows font sizes scale based on the CTM. bug 329306. r=vlad 2006-03-04 04:40:07 +00:00
pavlov%pavlov.net
0ce420b5e9 compute font metrics as needed. bug 329258. r=vlad 2006-03-03 21:23:15 +00:00
pavlov%pavlov.net
0abecc5523 don't create a temp duplicate font list every time we need to get a font.... bug 329199. r=bz 2006-03-03 05:54:47 +00:00
pavlov%pavlov.net
117ea6ce29 fixing typo breaking mingw builds. bug 328499. patch from Hans-Andreas Engel <engel@physics.harvard.edu>. r=vlad 2006-03-03 00:17:54 +00:00
pavlov%pavlov.net
cc439baf14 Fast path text measuring/drawing for non-ascii non-complex text as well. bug 329170. r=vlad. 2006-03-03 00:14:40 +00:00
pavlov%pavlov.net
e7f04f1fad fixing linux fallout from 328906. patch from Simon Montague <smontagu@smontagu.org>. r=pavlov 2006-03-01 18:27:38 +00:00
pavlov%pavlov.net
2cdd967c7d fixing mac fallout from 328906. patch from Yamashita Makoto <makotoy@ms.u-tokyo.ac.jp>. r=pavlov 2006-03-01 08:13:56 +00:00
pavlov%pavlov.net
b9b2639339 use nsTArray<nsRefPtr<gfxFont>> rather than nsTArray<gfxFont*> with manual refcounting. bug 328906. r=vlad 2006-03-01 01:02:38 +00:00
pavlov%pavlov.net
7b05673133 Fast pathing ASCII text measurement/drawing on windows. bug 328820. r=vlad 2006-02-28 22:11:01 +00:00
vladimir%pobox.com
a7b7add772 b=328781, thebes gfxFont assumes lowercase generic family, r=bz 2006-02-28 07:36:01 +00:00
pavlov%pavlov.net
d5f03ff41c making gfxFontStyle::ComputeWeightAndOffset not be a static method. part of bug 328684 r=vlad 2006-02-28 01:08:44 +00:00
pavlov%pavlov.net
e605e1488e making bold text work. bug 324611. r=vlad 2006-02-28 01:06:02 +00:00
pavlov%pavlov.net
eefb7df572 Fixing kerning bug where we added the space we should have been subtracting. bug 327363. r=vlad. based on patch originally from Masayuki Nakano <masayuki@d-toybox.com> 2006-02-27 22:05:45 +00:00
masayuki%d-toybox.com
e647fcc7d2 adding comment for previous check-in b=328643 r=jshin 2006-02-27 17:42:16 +00:00
masayuki%d-toybox.com
f4458bc746 Bug 328643 support non-ASCII font name for pref r=jshin, sr=roc 2006-02-27 15:04:31 +00:00
roc+%cs.cmu.edu
07e3c40e8d Turn off debug spew. 2006-02-27 02:28:41 +00:00
pavlov%pavlov.net
0fe1ba3ddd partial fix for font fallbacks. bug 324560. also fixes 324712. r=vlad 2006-02-24 05:15:21 +00:00
pavlov%pavlov.net
7f1afefee2 fixing windows plugin clipping bugs. bug 328263. r=vlad 2006-02-23 20:55:42 +00:00
pavlov%pavlov.net
d89a1b8e04 define M_PI if it isn't defined 2006-02-23 17:06:19 +00:00
roc+%cs.cmu.edu
3650a89de7 Bug 327878. Add cairo_draw_with_xlib API, and use it to render GTK2 native themes (including for HTML content) 2006-02-23 01:01:29 +00:00
roc+%cs.cmu.edu
9978c0e541 Bug 328232. Fix CreateOffscreenSurface to actually create a surface with alpha if it's asked to. r=vlad 2006-02-23 00:45:55 +00:00
vladimir%pobox.com
7f5363cf25 b=328116, Start of Cairo-on-OSX for Thebes GFX; gfx and cairo pieces, r=pavlov 2006-02-22 01:44:31 +00:00
cbiesinger%web.de
0b8727d7a1 Bug 327867 CopyOffscreenBits is not called in cairo builds, therefore
SetTarget isn't either. Remove the latter function and the body of the
former.
r=vlad
2006-02-20 14:27:02 +00:00
vladimir%pobox.com
0f1796c049 b=327391, SaveDC/RestoreDC mismatch in gfxWindowsFonts, r=stuart 2006-02-16 05:50:37 +00:00
vladimir%pobox.com
707e0dc2f7 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc 2006-02-15 23:35:53 +00:00
pavlov%pavlov.net
ca8de96237 oops, didn't mean to check this in a minute ago. if 0'ing out changes 2006-02-15 02:48:08 +00:00
pavlov%pavlov.net
b2388d1c15 fixing RTL text in windows cairo builds. bug 327229 r=vlad 2006-02-15 02:45:37 +00:00
pavlov%pavlov.net
4c74730634 cleaning up thebes PDF and PS surfaces 2006-02-13 22:37:13 +00:00
pavlov%pavlov.net
bc43fd0554 adding postscript surface 2006-02-10 21:31:04 +00:00
vladimir%pobox.com
8252152ff0 Fix thebes performance regressions from bug 326471 landing: snap clip rects to integers; remove some bogus RGB24 format checks from cairo; fix device offsets for fast text output. r=stuart 2006-02-10 02:20:35 +00:00
vladimir%pobox.com
567bc2281b b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart 2006-02-09 01:24:30 +00:00
pavlov%pavlov.net
2ce2647073 adding set/get DPI calls for the pdf surface 2006-02-02 21:09:06 +00:00
pavlov%pavlov.net
16db7c3947 adding Thebes printing APIs 2006-02-01 05:21:59 +00:00
pavlov%pavlov.net
07cb0c3299 adding windows gfxPlatform support 2006-02-01 02:35:38 +00:00
pavlov%pavlov.net
9f582b1de5 adding support for creating a gfxWindowsSurface from a HWND.
Call all win32 apis with :: to avoid namespace collisions.
2006-01-31 00:00:12 +00:00
vladimir%pobox.com
a5e2c8b72a b=324537, fix windows/cairo options menu crash due to unimplemented gfxPlatform call, r=me 2006-01-25 09:29:31 +00:00
pavlov%pavlov.net
7227bd8be1 build the PDF surface and link against zlib 2006-01-25 04:00:51 +00:00
pavlov%pavlov.net
9c30f9bb71 add support for owning a passed in DC 2006-01-25 02:06:29 +00:00
pavlov%pavlov.net
48f5fc422f Fixing region leak 2006-01-23 22:19:50 +00:00
vladimir%pobox.com
85163132e8 Pick correct depth under Gtk2; this will fix 16bpp visuals at the very least; 8bpp visuals will still be badly broken with no fix in sight. 2006-01-19 22:35:40 +00:00
pavlov%pavlov.net
256f49481e ifdefing out a printf 2006-01-19 21:03:29 +00:00
dbaron%dbaron.org
662ae334b0 Avoid extra trailing comma. r=vlad 2006-01-19 20:53:34 +00:00
dbaron%dbaron.org
5d5b8533da No need to do extra work for system fonts. Fix spelling and unused variable. r=vlad 2006-01-19 20:34:48 +00:00
dbaron%dbaron.org
c65736c4e2 Fix uninitialized members of gfxFontStyle and fix comments. r=vlad 2006-01-19 20:31:59 +00:00
dbaron%dbaron.org
7e7a2b9599 Don't pass a double value through an integer variable. r=vlad 2006-01-19 20:21:39 +00:00
dbaron%dbaron.org
2e24d395d4 Old-pango code that should be correct. r=vlad 2006-01-19 01:19:06 +00:00
vladimir%pobox.com
19a40b2ba3 Use PushGroup()/PopGroup() to implement transparency blending using cairo 2006-01-18 22:43:42 +00:00
vladimir%pobox.com
861a6a1bf7 fix Windows cairo builds issues; avoid crash in drawing surface destructor; sync up cairo clip state after calling RestoreDC() to make sure that the clip is correct, r=pavlov 2006-01-18 22:42:30 +00:00
pavlov%pavlov.net
66e9ba61d7 don't build PDF surface until we actually build cairo pdf support... 2006-01-13 22:47:54 +00:00
pavlov%pavlov.net
b83da62131 adding pdf surface to thebes for linux printing 2006-01-13 20:58:37 +00:00
vladimir%pobox.com
ec54927e83 Misc thebes/cairo win32 compilation fixes 2006-01-13 15:57:59 +00:00
pavlov%pavlov.net
51272beaf9 fixing windows font code to use the right object as a DC when measuring/drawing/etc 2006-01-13 15:06:51 +00:00
pavlov%pavlov.net
cf5c12dbb2 adding ShowPage api 2006-01-13 15:06:22 +00:00
vladimir%pobox.com
161cca7a9b turn off debug spam in gfxPangoFonts 2006-01-10 22:58:17 +00:00
vladimir%pobox.com
eb50d081fe Upgrade cairo to latest cairo trunk, along with some still-in-review patches 2006-01-10 22:56:57 +00:00
vladimir%pobox.com
b4c647f2d6 Fix pango rendering of invalid glyphs; add font enumeration API; add font enumeration support for linux 2006-01-10 20:26:40 +00:00
vladimir%pobox.com
3ea81ed7a2 fix windows font goop for thebes builds 2006-01-09 18:54:33 +00:00
vladimir%pobox.com
222146a4bc cairo branch sync: render linux fonts using pango-xft (and drop pango req back to 1.6); rework font api a bit to be able to reuse the family-splitting code 2006-01-09 17:58:17 +00:00
vladimir%pobox.com
7955779cc7 dropped unused file 2005-11-30 00:19:45 +00:00
vladimir%pobox.com
a13e3c0bd1 Fix gaius orange/windows thebes builds 2005-11-29 22:56:40 +00:00
vladimir%pobox.com
c76dff6b84 added missing files 2005-11-29 20:29:45 +00:00
vladimir%pobox.com
5d01d94a3c merge from org.mozilla.cvs.cairo branch:
- moved platform-specific thebes code to gfxPlatform
- added widget getters for gfxASurface creation in platform-specific widget code
- added first pass at gfxTextRun
2005-11-29 20:12:29 +00:00
vladimir%pobox.com
6463f46fcf typo fix 2005-11-09 23:29:19 +00:00
vladimir%pobox.com
20b91dbdd6 thebes/cairo backend update. windows fonts through thebes, start of pango fonts through thebes. lots of other misc fixes. win32 static build fix. 2005-11-08 20:06:16 +00:00
vladimir%pobox.com
065e50cd8a missed gfxFont.h 2005-10-08 05:50:16 +00:00
vladimir%pobox.com
3285bbecbb - Fix nasty memory/resource leak on X (win32 too, just not as noticable)
- First landing of Stuart's fonts work, built on win32 only for now
2005-10-08 05:09:42 +00:00
vladimir%pobox.com
971ca77192 stupid file isn't supposed to be checked in! 2005-10-06 04:50:00 +00:00
vladimir%pobox.com
2f87b8dd7c Merge from org.mozilla.cvs.cairo branch.
- Cairo 1.1.1
- Updated thebes, gfx/src/thebes
- Fixes to plugins with thebes gfx under linux
- Native theme fixes with thebes rendering (NOTE: widget changes only enabled when building with thebes, otherwise all old code)
2005-10-06 04:02:10 +00:00
cbiesinger%web.de
bf0e369753 bug 305658 make building thebes with --enable-system-cairo work
patch by Mike Hommey <mh@glandium.org> r+sr=roc
2005-08-25 12:30:45 +00:00
vladimir%pobox.com
711354ac25 cairo landing: land thebes 2005-08-20 05:36:47 +00:00
vladimir%pobox.com
eb6f78a4d3 notpartofthebuild thebes fixes to my fixes, since merging is hard. 2005-07-02 01:36:23 +00:00
vladimir%pobox.com
380e5a443f fix thebes gfxPattern refcounting; add coord space transforms for Rects; fix packed-color conversion.. notpartofthebuild 2005-07-02 01:05:26 +00:00
pavlov%pavlov.net
11d9ea1f2c Adding more utility functions to thebes from vlad. Cleaning up some coding style inconsistencies. 2005-06-30 04:58:27 +00:00
pavlov%pavlov.net
7e7b13fc9d fixing a few refcounting related issues 2005-06-28 09:27:02 +00:00
pavlov%pavlov.net
e79c48491a Updating thebes to match cairo 0.5 api, adding refcounting, pixel aligned rects. patches from roc, vlad, and myself. Bug 298880. 2005-06-28 09:18:55 +00:00
roc+%cs.cmu.edu
b8a397bbae A couple of small Thebes updates. Not Part Of The Build 2005-04-21 04:19:16 +00:00
roc+%cs.cmu.edu
dc25a09557 Add antialiasing mode API. Not Part Of The Build 2005-04-11 22:22:10 +00:00
roc+%cs.cmu.edu
01952f0a59 Fixing #include guards to avoid leading underscore. Not Part Of The Build 2005-04-11 04:36:18 +00:00
roc+%cs.cmu.edu
47501e0529 Add gfxTypes.h. Not Part Of The Build. 2005-04-08 05:47:49 +00:00
roc+%cs.cmu.edu
43aca48cfc Updating to use gfxFloat everywhere. Also use gfxPoint, gfxRect, gfxSize where appropriate. Also added many XXX comments where documentation is needed. Not Part Of The Build. 2005-04-08 05:44:32 +00:00
pavlov%pavlov.net
e219a00e80 fixing typos 2005-04-07 19:12:19 +00:00
pavlov%pavlov.net
fea8da7106 adding xlib surface 2005-04-07 19:11:59 +00:00
pavlov%pavlov.net
118f1222ed add Hex converter to gfxRGBA 2005-04-06 08:52:49 +00:00
pavlov%pavlov.net
30e9e07700 adding gfxRect struct. Add clipping support for rects. 2005-04-06 07:36:31 +00:00
pavlov%pavlov.net
428e04ae5d New graphics API. The future is here. 2005-04-06 01:54:26 +00:00