Commit Graph
1443 Commits
Author SHA1 Message Date
pavlov@netscape.com 34a925fac5 remove round trips to the X server when we create rendering contexts. only set font and color info on the GC when a draw is going to happen. 2000-01-26 11:37:58 +00:00
pavlov@netscape.com 0e157875c2 make things better(tm) r=blizzard 2000-01-26 02:42:34 +00:00
dcone@netscape.com 909b50486e Added flags so selection button does not come up and print to file is hidden. Put in support for quiet
printing (no dialog) r=rods
2000-01-25 15:45:09 +00:00
Jerry.Kirk@Nexwarecorp.com 6a8d2961a4 Fix up the font picking stuff for Photon 1 2000-01-25 13:49:49 +00:00
Jerry.Kirk@Nexwarecorp.com 6702663583 Adding in new code by Derek that better matches Photon Fonts for the font
that Mozilla requested.
r=kedl
2000-01-25 03:38:02 +00:00
Jerry.Kirk@Nexwarecorp.com 6a935df304 Fixing compiler warning/errors caused by -pedantic
Changing method used to extent fonts and adding our version of wctombs
r=kedl
2000-01-25 03:26:00 +00:00
sfraser@netscape.com f4a2774e2c First Checked In. 2000-01-25 03:18:22 +00:00
Jerry.Kirk@Nexwarecorp.com f86dded776 Fix the destructor, it leaks less this way.
r=kedl
2000-01-25 03:00:41 +00:00
dcone@netscape.com a9f4f8ac12 Added the canonical pixels scale calculation. r = rods. b = 24405 2000-01-24 14:58:49 +00:00
dcone@netscape.com b56e5377d0 implemented a method to return the canonical pixel scale. r = rods b = 24405 2000-01-24 14:58:00 +00:00
dcone@netscape.com e22aafd7b4 Added a member for the Canonical pixel scale - cross platform. r=rods b=24405 2000-01-24 14:52:12 +00:00
tor@cs.brown.edu 5c38aa6a49 Merge gtk font changes, fix font handling in PopState().
Not in standard build.  r=blizzard, a=choffman
2000-01-20 22:43:29 +00:00
neeti@netscape.com 356b3eb395 fix for memory leak bug# 21301. MLK: ImageNetContextSyncImpl leaks. r=pnunn 2000-01-18 13:10:47 +00:00
rbs@maths.uq.edu.au acd85858ce [#ifdef MOZ_MATHML] Left-over when changing the character coordinate system of the bounding metrics. 2000-01-18 03:54:28 +00:00
sford3@swbell.net cd21a7bc27 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
mscott@netscape.com 790420f31d loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
alecf@netscape.com 3e35b2357d fix xlib bit rottage 2000-01-17 08:29:52 +00:00
rbs@maths.uq.edu.au 9f8cba5f59 [#ifdef MOZ_MATHML] Get the real x-height for precise MathML positioning. Bug 18814 can feed on this. 2000-01-17 00:54:01 +00:00
Jerry.Kirk@Nexwarecorp.com b91958db36 bug 8001; add font name prefs code for Photon. This is initial
and only meant to get things compiling again until I can review and
understand this bug. PHOTON ONLY
2000-01-16 18:25:37 +00:00
Jerry.Kirk@Nexwarecorp.com daaaa72d68 Work around a Photon bug when trying to Invert Text in the InvertRect
function by forcing a flush after the draw.
r=kedl
2000-01-16 01:55:27 +00:00
Jerry.Kirk@Nexwarecorp.com 4c1676cc77 Multiplying the Screen Width and Height by three to take into account
the default 3x3 virtual console. This may not be the "right" way
but I am going with it for the moment.
r=kedl
2000-01-16 01:53:47 +00:00
erik@netscape.com b7f8f0a388 bug 24005; was rounding font size down to be compatible with Nav4; this
turns out to have disastrous effects on pages with font-size 9px; removed
the rounding code after testing effects on various "Top Sites"; r=none
(but discussed with Troy)
2000-01-15 18:50:18 +00:00
erik@netscape.com 75c6ab6999 bug 17861; set minimum default logical resolution to 96, using OS's
reported value if higher than 96; coded by David Baron; r=erik
2000-01-15 18:20:54 +00:00
erik@netscape.com aea08840de bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
Jerry.Kirk@Nexwarecorp.com faa6f736e8 Photon UI Only
Changing some debug output to silence the RenderingContext a bit so I can
work on other problems...
r=kedl
2000-01-14 13:17:25 +00:00
Jerry.Kirk@Nexwarecorp.com 10c9df86f5 Add code to work around Photon bug. If any part of "text" is rendered
slightly off the drawing surface then the entire chunk of text is clipped.
This is an awful hack that just increases the draw surface by 100.
(A magic number) I am filing a bug with Photon to get a fix.
r=kedl
2000-01-14 13:15:33 +00:00
rbs@maths.uq.edu.au a97393a8bb [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 08:02:12 +00:00
rbs@maths.uq.edu.au 2069835002 [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
neeti@netscape.com dc2126fc04 fix for memory leak of ImageSystemServicesImpl, bug 21298, r=pnunn 2000-01-13 23:34:19 +00:00
pnunn@netscape.com 05a3795b4f bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com 2000-01-13 23:01:11 +00:00
pinkerton@netscape.com 999efd7fd5 Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable. 2000-01-12 07:14:09 +00:00
pinkerton@netscape.com 95923a8109 Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable. 2000-01-12 07:02:17 +00:00
dbaron@fas.harvard.edu c960339819 Fix bug 11168. Underline position metrics are returned as positive
numbers by X, but Mozilla wants them to be negative.  This caused
problems only for certain font servers (those that returned underline
position metrics).

r=pavlov
2000-01-12 02:24:46 +00:00
pp@ludusdesign.com d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
pinkerton@netscape.com c3d82e7129 First Checked In. 2000-01-11 05:18:43 +00:00
cls@seawood.org 30b6994f16 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
cls@seawood.org 07b8e2cc56 Add MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs around the timer libs and other static libraries to be linked into the shared library. 2000-01-11 05:06:24 +00:00
dcone@netscape.com 761f9bc028 Fixed some transform errors. r=rickg. bugs = 14385,19601 2000-01-10 14:52:49 +00:00
rbs@maths.uq.edu.au b9d6e50331 [MATHML] Coded GetItalicSlope() and updated GetBoundingMetrics(). Added code to catch up with recent changes in gfx/src/windows that broke the MathML build on Win32 2000-01-07 14:22:07 +00:00
rbs@maths.uq.edu.au a58259533c [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation 2000-01-07 14:16:02 +00:00
rbs@maths.uq.edu.au a6f4c00e94 [#ifdef MOZ_MATHML] Patch of Shyjan Mahamud to set mActualSize to the designed size of the font, when the font requested is not a scalable font 2000-01-07 14:07:56 +00:00
briano@netscape.com ba52be8839 Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano@netscape.com 6525be7a03 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
Jerry.Kirk@Nexwarecorp.com 7cd67611be Photon UI Only
This checkin adds some methods to deal with native Regions needed by Widget
code.  It also cleans up the CopyOffScrenBits and clears out the GC in the
Init method of nsDrawingSurfacePh.
2000-01-04 15:23:28 +00:00
dougt@netscape.com 7fedacf99d Including nsCRT.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:01:37 +00:00
ftang@netscape.com 66f6922f65 partial fix for 19589. use ATSUI fallback to draw glyph available in MacRoman font and Symbol font. It will cover Latin extened A. r=nhotta a=chofmann 1999-12-22 20:56:49 +00:00
ftang@netscape.com 22da7a6395 fix bug 7521. make the default font face listen to pref. r=erik. a=chofmann 1999-12-22 20:54:54 +00:00
tor@cs.brown.edu 7bec198e62 Fix for bug 19024 (strechy symbols in MATHML) in xlib code.
r=rbs@maths.uq.edu.au
1999-12-22 04:47:32 +00:00
briano@netscape.com c0cbfb0148 Fix for the mysterious breakage when using the Workshop compiler on Solaris builds. 1999-12-22 01:42:19 +00:00
sspitzer@netscape.com 54da002e41 fix FMM and UMR from purify, add some null sanity checks to fix various
crashers that I've seen.
1999-12-21 23:11:17 +00:00