3797 Commits

Author SHA1 Message Date
jshin%mailaps.org
b2a8799420 bug 226288 : change freetype code to do rounding instead of ceiling (r=dbaron, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@150625 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-22 06:32:09 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
jshin%mailaps.org
edd1448355 bug 225109 : fix the sign of the subscript offset in some truetype fonts (r=rbs, sr=dbaron, a=chofmann)
git-svn-id: svn://10.0.0.236/trunk@150477 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 04:56:29 +00:00
jst%mozilla.jstenback.com
f8ceff2496 Fixing bug 223111. Making the page-setup settings shrink-to-fit and scaling persist across Mozilla instances. Patch by jblanco@us.ibm.com, and modiefied by me. r=ben, sr=bienvenu, a=asa.
git-svn-id: svn://10.0.0.236/trunk@150393 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-17 07:52:49 +00:00
jshin%mailaps.org
b60ed2b547 bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@150305 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-15 00:32:16 +00:00
mkaply%us.ibm.com
a21af13c71 #227914
r=mkaply, sr=blizzard (platform specific), a=mkaply
Code from ganesh - use Helvetica when we are told to print WarpSans


git-svn-id: svn://10.0.0.236/trunk@150226 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-11 23:26:17 +00:00
mkaply%us.ibm.com
0511c3d9ad #227374
r=mkaply, sr=blizzard (platform specific), a=mkaply
Use the GTK way of figuring out where underline goes because font info is unreliable


git-svn-id: svn://10.0.0.236/trunk@150225 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-11 23:16:31 +00:00
mkaply%us.ibm.com
ad0d0cb7b6 #150881
r=mkaply, sr=blizzard (platform specific), a=mkaply
Code from tor - fix OS/2 transparent PNG scaling


git-svn-id: svn://10.0.0.236/trunk@150221 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-11 21:29:07 +00:00
dbaron%dbaron.org
96973f586c Read and write as UTF-8 so non-ascii characters in prefs are read correctly. b=199898 r=jshin sr=bzbarsky a=chofmann
git-svn-id: svn://10.0.0.236/trunk@150218 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-11 18:42:45 +00:00
jshin%mailaps.org
7c34a3649d bug 226623: XFT build crashes on PLHashRawAdd. Switch to nsClassHashTable and add a new HashKeyType that duplicates a string in ctor. (r=bsmedberg, sr=bryner, a1.6=tor)
git-svn-id: svn://10.0.0.236/trunk@150196 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-10 21:27:01 +00:00
tor%cs.brown.edu
4ac0a7b744 Bug 225243 - postscript output inverted in xft build configuration.
Patch by kherron, r=tor, sr=bzbarsky, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@149965 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-03 06:12:01 +00:00
dwitte%stanford.edu
9d078846bb fix compiler bustage on sun forte, due to some bogus |inline|
qualifiers.

b=224968, r+sr=alecf, a=tor


git-svn-id: svn://10.0.0.236/trunk@149756 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-26 02:44:50 +00:00
tor%cs.brown.edu
4c71f49d7d Bug 150881 - fix xlib build bustage.
git-svn-id: svn://10.0.0.236/trunk@149661 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 21:47:43 +00:00
tor%cs.brown.edu
2f30a80b0a 150881 - fix BeOS build bustage.
git-svn-id: svn://10.0.0.236/trunk@149659 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 20:50:40 +00:00
tor%cs.brown.edu
207c6309ca Bug 150881 - rendering artifacts painting scaled alpha composited
images on gtk+ and win32.  r=pavlov, sr=bryner, a=asa


git-svn-id: svn://10.0.0.236/trunk@149654 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 15:23:52 +00:00
bryner%brianryner.com
fb629f501f Instantiate the unknown glyph font (mini-font) lazily, since it's usually not needed at all. Bug 226406, r/sr=dbaron, a=asa.
git-svn-id: svn://10.0.0.236/trunk@149643 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 02:42:11 +00:00
jshin%mailaps.org
79373dd4a3 bug 225340 : fix unaligned memory access on 64bit machines in nsSaveAsCharset and Gfx. (r=smontagu, sr=rbs, a1.6b = asa)
git-svn-id: svn://10.0.0.236/trunk@149639 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 00:25:52 +00:00
mkaply%us.ibm.com
e83ce93af1 #226340
r=mkaply, sr=blizzard (platform specific), a=mkaply
Code from pedemonte - new font code - want this for beta to get testing on it


git-svn-id: svn://10.0.0.236/trunk@149620 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 22:30:41 +00:00
bryner%brianryner.com
81b1d79d48 Speed up Xft font matching by only asking for the best-match font, and then asking for the rest if we hit a character that's not present in the best-match font. Bug 223813, r=blizzard, sr=dbaron. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@149598 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 01:10:58 +00:00
dbaron%dbaron.org
82f542ec33 Fix overly-thick underlines by doing rounding rather than ceiling. b=222920 r=jshin sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@149588 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-20 20:05:34 +00:00
chanial%noos.fr
2f335a1c52 Bug 194678: Move pageSetup into the toolkit. r=bsmedberg, sr=bryner and a big thanks to Dave Miller for moving the files!
git-svn-id: svn://10.0.0.236/trunk@149543 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 06:34:51 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
jshin%mailaps.org
aeea63c75a bug 222920 : fix the conversion error in super/subscript offset and underline offset calculation in Xft build (r=blizzard, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@149498 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 15:49:57 +00:00
timeless%mozdev.org
3d93c37922 Bug 225984 DRefTool analysis for beos files
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@149449 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 20:43:48 +00:00
timeless%mozdev.org
b6bbf28d90 Bug 222077 Warning: String literal converted to char*
r=dwitte sr=roc


git-svn-id: svn://10.0.0.236/trunk@149421 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 06:28:04 +00:00
bzbarsky%mit.edu
2338b95b38 Have a way to disable the Postscript/* printers via pref even in builds with
the PS module built in.  Bug 225686, patch by dvschweiger@web.de (David
Schweiger), r=biesi, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@149363 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 19:25:14 +00:00
timeless%mozdev.org
707ab63bfc Bug 172525 [ps] print legal size page fails to set '<< /PageSize [612 1008] >> setpagedevice'
patch by kjh-5727@comcast.net r=timeless sr=tor


git-svn-id: svn://10.0.0.236/trunk@149151 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 15:32:11 +00:00
jshin%mailaps.org
3baa0d0398 bug 221666 : the latest in a series of landing for this bug. This is to fix run-time linking error in gtk2 build.
git-svn-id: svn://10.0.0.236/trunk@149112 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 12:24:51 +00:00
jshin%mailaps.org
4cc31d9a0d bug 221666 : remove redundant copy of nsComprressedCharMap.* : one more missing file in the last check-in
git-svn-id: svn://10.0.0.236/trunk@149074 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 20:47:11 +00:00
jshin%mailaps.org
d18d11141b bug 221666 : checked in the wrong patch(the second latest) in the previous landing. fix bustage : Sorry !
git-svn-id: svn://10.0.0.236/trunk@149072 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 19:48:11 +00:00
jshin%mailaps.org
17a9724388 bug 221024 : add a new option for turning invisible chars. to 'nothingness' to the transliterator (r=smontagu, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@149069 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 18:52:01 +00:00
jshin%mailaps.org
8feb2a89c6 bug 221666 : remove redundant copy of nsCompressedCharMap.* (moved to intl/unicharutil) (r=smontagu, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@149068 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 18:44:11 +00:00
jshin%mailaps.org
bd4de40729 bug 221666 : remove redundant copy of nsCompressedCharMap.(h|cpp) and move them to intl/unicharutil out of gfx (r=smontagu, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@149067 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 18:39:19 +00:00
pinkerton%netscape.com
3f91eed8d5 merge more changes from chimera branch, fixed printing crash and sets dpi to
96dpi instead of 84dpi (bug 208920)


git-svn-id: svn://10.0.0.236/trunk@148878 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 21:37:58 +00:00
blizzard%redhat.com
78b3eb75ae Bug #213734. Browser crashes when loading URL [@ XftDrawGlyphFontSpec ][@ nsFontMetricsXft::DrawString ]. Make sure to use the length of the spec buffer, not the length of the string in determining how many glyphs to render. r=jshin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148777 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 17:44:54 +00:00
timeless%mozdev.org
761d6b8d97 Bug 214959 Xdefs.h not found while building with xft support on solaris
patch by selsky@columbia.edu r=blizzard sr=rbs


git-svn-id: svn://10.0.0.236/trunk@148766 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 13:11:56 +00:00
dbaron%dbaron.org
e0c834ff35 Make opacity work on GTK2. b=201209 r=bryner sr=roc
git-svn-id: svn://10.0.0.236/trunk@148715 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 03:14:00 +00:00
uid502
06e9e2e520 Bug 212366. Account for inverted origin of non-DIB bitmaps. Also, set the row width to the actual width of the DIB data, not the row width from the non-DIB bitmap. r=ere,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148675 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 02:00:37 +00:00
rbs%maths.uq.edu.au
caf1987140 bug 195038, finally add support for the quirky <font face=Symbol> on Windows to the delight of proponents of bug 33127, r=jshin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@148563 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 13:44:49 +00:00
jshin%mailaps.org
3984958139 bug 183729 : segfault on XftLockFace's failure (r=blizzard, sr=roc) patch by timeless + dbaron
git-svn-id: svn://10.0.0.236/trunk@148544 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:48:10 +00:00
bzbarsky%mit.edu
b77b023779 Last patch was by kjh-5727@comcast.net (Kenneth Herron)
git-svn-id: svn://10.0.0.236/trunk@148408 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 19:15:37 +00:00
bzbarsky%mit.edu
1b233a2585 Fix landscape printing to work again. Bug 223625, r=tor, sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@148407 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 17:56:11 +00:00
tor%cs.brown.edu
f653cc5dfa Bug 223551 - postscript output invalid in locales not using periods
for decimals.  Patch by kjh-5727@comcast.net,  r=tor, sr=bzbarsky, a=roc.


git-svn-id: svn://10.0.0.236/trunk@148354 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 16:27:11 +00:00
uid502
adfec216b5 Bug 80190. Emit twips measurements into PS code and let the PS engine do the scaling. r=tor,sr=roc,a=roc. Thanks to kherron who did the patch.
git-svn-id: svn://10.0.0.236/trunk@148329 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 22:43:04 +00:00
bryner%brianryner.com
8183b564fd fixing bustage
git-svn-id: svn://10.0.0.236/trunk@148264 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 07:01:13 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
8cc6849383 Removing super-noisy debug printf. bug 220341, rs=blizzard
git-svn-id: svn://10.0.0.236/trunk@148054 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:13:30 +00:00
timeless%mozdev.org
3a46a343a6 Bug 215784 segmentation violation when clicking on Edit/Preferences/Appearance/Fonts
r=dwitte


git-svn-id: svn://10.0.0.236/trunk@148028 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 16:03:55 +00:00
bryner%brianryner.com
9079f3cefa No need to use threadsafe refcounting for rendering contexts, bug 110933. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@147970 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 21:47:20 +00:00
tor%cs.brown.edu
9364520378 Bug 216977 - fix error return type nit.
git-svn-id: svn://10.0.0.236/trunk@147814 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:07:03 +00:00