Commit Graph

5169 Commits

Author SHA1 Message Date
pavlov@pavlov.net
39b713088b relanding code to get and cache code point info from each font on your system and improve font selection speed and results. bug 377950. r=vlad/roc,sr=roc 2007-05-29 17:07:03 -07:00
benjamin@smedbergs.us
a57f4060b6 Backout bug 377950 due to startup crashes. 2007-05-29 08:09:23 -07:00
pavlov@pavlov.net
a6cd41a0b1 Get and cache code point info from each font on your system and improve font selection speed/results. bug 377950. r=vlad/roc,sr=roc 2007-05-29 03:24:15 -07:00
roc+@cs.cmu.edu
a1b2ee93ff Bug 382206. Ensure that the clip rectangle used to draw partial ligatures is pixel-aligned. Also fix an off-by-one error that busted the detection of the end of a ligature. r=pavlov 2007-05-29 02:47:54 -07:00
mozilla@weilbacher.org
000ff10710 [OS/2] Bug 381330: improve system font handling.- use the font name as read from OS2.INI to determine font properties- better comment nsSystemFontsOS2::GetSystemFont()- fix debugging typo (+1) left by mistake in earlier checkin 2007-05-28 16:49:06 -07:00
mozilla@weilbacher.org
a394167bc1 [OS/2] Bug 381333: improve Thebes font handling on OS/2.- fix faulty missing-glyph case- add the fix from bug 377923 2007-05-28 15:00:00 -07:00
mozilla@weilbacher.org
7b8e61ec4b [OS/2] Bug 381330: improve system font handling.Convert system units (pt) to Gecko units (px).Remove unnecessary function GetSystemFontInfo(), everything can be done inside GetSystemFont() directly. 2007-05-28 09:28:11 -07:00
vladimir@pobox.com
2b94255243 b=375047, fragile pango initialization, r=roc 2007-05-22 20:57:34 -07:00
vladimir@pobox.com
4d4b46fc4b b=324698, disable bilinear filtering for upscaled images (upscaling causes misrendering), r=roc 2007-05-22 20:54:38 -07:00
sharparrow1@yahoo.com
53b5d6bd32 Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc. 2007-05-22 20:45:59 -07:00
roc+@cs.cmu.edu
1c5b7e8938 Bug 377923. Hide glyphs for \t, \r and \n under all circumstances. r=pavlov 2007-05-22 20:45:51 -07:00
sharparrow1@yahoo.com
200370c700 Backing out due to red tree. 2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com
36e7d7017d Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc 2007-05-22 18:42:36 -07:00
roc+@cs.cmu.edu
325f3d9df8 Bug 381127. Add whitespace trimming capability to BreakAndMeasureText. r=pavlov 2007-05-22 16:40:07 -07:00
roc+@cs.cmu.edu
94eac5dda3 Bug 381128. Remove gfxPangoFonts::Measure, it's kinda broken and not all that helpful right now. r=pavlov 2007-05-22 16:33:18 -07:00
tor@cs.brown.edu
559e07b259 Bug 380071 - add cairo_clip_extents() functionality to thebes. r=vlad 2007-05-22 12:30:03 -07:00
jminta@gmail.com
7e5800d0ea Bug 377717 again, if this doesn't go green i'll back out 2007-05-20 19:57:10 -07:00
jminta@gmail.com
86c9951f64 try again 2007-05-20 19:45:45 -07:00
jminta@gmail.com
1c86cd5dad bustage fix from Bug 377717 2007-05-20 19:42:02 -07:00
jminta@gmail.com
5f133ddc08 Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
roc+@cs.cmu.edu
f16d2842f0 Bug 377232. Align font boundaries with cluster boundaries to avoid ATSUI weirdness where it chooses different fonts fo characters in the same cluster... 2007-05-20 19:02:16 -07:00
roc+@cs.cmu.edu
28dcf3f8e0 Bug 380484. Don't divide by zero if a font has a really small maxAdvance. r=vlad 2007-05-20 18:56:10 -07:00
roc+@cs.cmu.edu
d6f07e5be0 Bug 380210. Time out fonts after 30 seconds, not 3 seconds. r=vlad 2007-05-20 18:54:13 -07:00
vladimir@pobox.com
13b93a8179 b=380494, followup for zero-sized surfaces; allow zero-sized image surfaces to be created, r+sr=roc 2007-05-20 15:46:53 -07:00
vladimir@pobox.com
221b96d8f0 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
mozilla@weilbacher.org
30ee63d891 [OS/2] Bug 371504: get Thebes working on OS/2 again.- Change the font handling over from native OS/2 GPI to Fontconfig+Freetype.- This lets us use cairo text drawing.Finally end the months long OS/2 build break. 2007-05-20 06:45:49 -07:00
mozilla@weilbacher.org
48727bd7f1 [OS/2] Bug 371504: Makefile additions for Thebes on OS/2, r=vlad 2007-05-20 06:28:09 -07:00
joshmoz@gmail.com
79ffe0b1d1 don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc 2007-05-17 20:04:04 -07:00
roc+@cs.cmu.edu
16c6146b03 Not (Really) Part Of The Build. Fix shortcut calculation that was causing random crashes with new textframe. 2007-05-16 22:18:21 -07:00
vladimir@pobox.com
449aa0365c b=380494, allow zero-width/height surfaces (crash moz_cairo_win32_surface_get_image etc.), r+sr=roc 2007-05-15 13:27:10 -07:00
dbaron@dbaron.org
6da5095394 Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
roc+@cs.cmu.edu
e7e11676c0 Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-14 20:56:47 -07:00
roc+@cs.cmu.edu
b9c2535e4d Not (Really) Part Of The Build (Yet). Make gfxSkipCharsIterator::IsOriginalCharSkipped operate correctly when the iterator is currently pointed at a zero-length run. 2007-05-14 20:09:16 -07:00
roc+@cs.cmu.edu
e74bb303b6 Bug 380484. Work around ATSUI's 32k pixel limitation; when creating textruns, split the textrun up into smaller pieces if necessary before we pass it to ATSUI. r=vlad 2007-05-14 20:06:52 -07:00
roc+@cs.cmu.edu
cefbf16024 Bug 380484. Work around ATSUI's 32k pixel limitation; when creating textruns, split the textrun up into smaller pieces if necessary before we pass it to ATSUI. r=vlad 2007-05-14 19:54:19 -07:00
asqueella@gmail.com
e61b872772 Bug 380153 - SetupClusterBoundaries uses unset attrs from pango_break after NUL.p=Karl Tomlinson <mozbugz@karlt.net>r=roc 2007-05-13 05:31:24 -07:00
asqueella@gmail.com
bd7484271c Bug 375864 - Crash [@ gfxTextRun::CompressedGlyph::IsClusterStart] when viewing URL as UTF-16p=Karl Tomlinson <mozbugz@karlt.net>r+sr=roc 2007-05-13 04:32:43 -07:00
mats.palmgren@bredband.net
b3b5d084fc Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
roc+@cs.cmu.edu
6dd35fc852 Bug 380210. Fix appunits to Pango units conversions (only affects newtextframe). r=vlad 2007-05-11 22:54:31 -07:00
roc+@cs.cmu.edu
46855a094f Bug 380210. Make sure that a null PropertyProvider always means 'no spacing' without crashing. r=vlad 2007-05-11 22:53:29 -07:00
roc+@cs.cmu.edu
0a098dc718 Bug 380210. Fix some incorrect comments and identifiers regarding units. r=vlad 2007-05-11 22:52:43 -07:00
roc+@cs.cmu.edu
09f3ff862f Bug 380451. Store hashcode in textrun to avoid accessing deleted text. r=vlad 2007-05-11 22:51:15 -07:00
vladimir@pobox.com
17fdb786db X11 needs to be taken out behind the barn and shot, r=me 2007-05-10 13:50:16 -07:00
vladimir@pobox.com
af1330d11e more bustage fix 2007-05-10 13:41:40 -07:00
vladimir@pobox.com
485e4a6213 more bustage fix 2007-05-10 13:20:08 -07:00
vladimir@pobox.com
ef149f02e5 X11 blows; bustage fix for linux 2007-05-10 13:19:04 -07:00
vladimir@pobox.com
af303fa5b3 mac bustage fix 2007-05-10 13:12:24 -07:00
vladimir@pobox.com
1f64321330 371135, oom crashers with big images, r=stuart 2007-05-10 12:58:09 -07:00
gavin@gavinsharp.com
2025358959 Bug 376434: avoid using a different type so that MSVC can pack the bitfields properly, patch by Taras Glek <tglek@mozilla.com>, r=roc 2007-05-10 12:37:39 -07:00
roc+@cs.cmu.edu
b5e9afb0bb Bug 375760. Implement new textrun cache: gfxTextRunCache (base cache which leaves textrun lifetime management to the client) and gfxGlobalTextRunCache (cache which manages textrun lifetimes using nsExpirationTracker). r=vlad 2007-05-09 13:33:16 -07:00