Commit Graph

620 Commits

Author SHA1 Message Date
pavlov%pavlov.net
b7fad535ab clean up some font code 1999-01-23 03:29:50 +00:00
wtc%netscape.com
05ce7e7e53 Avoid string literals that span multiple lines because some compilers
don't like line endings in string literals.
1999-01-23 02:04:40 +00:00
wtc%netscape.com
2de1b2d2fe Text after #endif should be put inside a comment. 1999-01-23 02:02:42 +00:00
harishd%netscape.com
c9dfc3c404 Added method to display CSS 3D borders. 1999-01-22 22:20:11 +00:00
harishd%netscape.com
f3769e9866 Added method to display CSS 3D borders.
Also, have added a helper method.
1999-01-22 22:19:13 +00:00
dcone%netscape.com
320f9f1215 Combined files so 3 were deleted, one added. The Rendering and Device contexts
no longer need deligates, so they were removed.  Cleaned up alot of code no
longer needed
1999-01-22 16:21:58 +00:00
pavlov%pavlov.net
1b7b8f39fb fix rods's broken code 1999-01-22 00:45:56 +00:00
rods%netscape.com
fc15c1f574 I removed the error. 1999-01-22 00:41:18 +00:00
rods%netscape.com
c6309515c4 Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.
1999-01-21 23:55:27 +00:00
mcafee%netscape.com
221ee99f04 Comment: No output = test passed 1999-01-21 22:10:57 +00:00
pierre%netscape.com
abd275880c initialize the Rendering Context from a GrafPort to fix a crash on print 1999-01-21 08:41:21 +00:00
jfrancis%netscape.com
4ad8140c73 adding checks for null mContext member in a couple of places - fixes bug #2200 1999-01-19 02:05:53 +00:00
pierre%netscape.com
07e5135d18 Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort. 1999-01-19 00:02:15 +00:00
pavlov%pavlov.net
a917178521 use the right visual when we create the pixmaps 1999-01-17 22:48:27 +00:00
pavlov%pavlov.net
c2804dc7b3 fix for crashing. 1999-01-17 17:51:02 +00:00
pierre%netscape.com
fca58a3d4d #2439: Links are not underlined correctly 1999-01-16 07:09:59 +00:00
dcone%netscape.com
91a37ba797 Added new postscript fontmetric code, and update the Device and Rendering context to use them 1999-01-15 22:44:32 +00:00
pierre%netscape.com
cabf7ef087 fix for #2209 "Can't display toolbars and xpTree": always call CommonInit() in SelectDrawingSurface(). 1999-01-15 22:35:41 +00:00
sfraser%netscape.com
7fc6513bbe Turning off ATSUI font rendering (for now) so that QA can test layout that semi-works. 1999-01-15 18:18:02 +00:00
sfraser%netscape.com
3a2fcc0cdc Another part of fix for 2411 -- add a condition that was in the 4.x codebase, that no font smaller than 9pt was used. 1999-01-15 18:15:21 +00:00
sfraser%netscape.com
ff65ca818e Fix font selection when using ATSUI (part of bug 2411) 1999-01-15 05:23:23 +00:00
jfrancis%netscape.com
9de778d6ae Fixing leaking of GraphioStates in nsRenderingContextMac destructor 1999-01-15 05:14:51 +00:00
peterl%netscape.com
a7838d1aaa finally removed compatibility emulation of Nav font rounding bug
Let the games begin

Checkin during red tree approved by sar
1999-01-15 01:52:03 +00:00
davidm%netscape.com
55e7b9323f 2312 When not using ATSUI, no conversion is made from Latin-1 to MacRoman 2155 Proportional font spacing issues using metrics ( fix for nonATSUI drawing case ) 1999-01-14 23:51:17 +00:00
pierre%netscape.com
5c29b5f5e9 fixed build breakage 1999-01-14 07:30:02 +00:00
sfraser%netscape.com
2686e6ba4e Fix build bustage (adding method CreateFontAliasTable()) 1999-01-14 07:14:24 +00:00
pierre%netscape.com
1ace30709f Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute. 1999-01-14 07:12:07 +00:00
pierre%netscape.com
81bed3109b Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute. 1999-01-14 06:54:21 +00:00
sfraser%netscape.com
08e4e851b4 Add a utility routine to set the port's text traits, and call it from GetWidth and DrawString. Also fix warnings with the ATSUI calls, and fix the ATSUI #ifdef so that it's possible to #ifdef out all calls to the ATSUI library. 1999-01-14 05:49:51 +00:00
sfraser%netscape.com
96503f181b Fix for bug 2211, and other font rendering changes and fixes. Fix davidm's changes to avoid blowing the font cache, change the static function to return font information, rather than set it. 1999-01-14 05:47:20 +00:00
sfraser%netscape.com
9a281cb29a Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num. 1999-01-14 05:44:50 +00:00
sfraser%netscape.com
f1856da182 Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo 1999-01-14 05:43:18 +00:00
davidm%netscape.com
c37a50331a Bugzilla [PP] Font mapping is wrong 1999-01-13 02:14:10 +00:00
pierre%netscape.com
9e0eaf62a8 Some cleanup in ATSUI. The constant USE_ATSUI_HACK, when it's not defined, now effectively removes all the ATSUI code and the ATSUnicodeLib can be removed from the project. 1999-01-12 11:35:49 +00:00
pavlov%pavlov.net
2d3d50a130 strikethrough now shows... 1999-01-11 00:54:15 +00:00
pavlov%pavlov.net
39384f2578 remove unused code. fixed underlining. 1999-01-08 15:51:46 +00:00
sfraser%netscape.com
6ff885142e Fix the damn asserts 1999-01-08 03:15:15 +00:00
ftang%netscape.com
b455e672a8 add ATSUI hack. This hack could be turn off by comment out the #define USE_ATSUI_HACK line. 1999-01-07 18:27:09 +00:00
ftang%netscape.com
0fbb98d2c0 add weak link to ATSUnicodeLib 1999-01-07 18:24:42 +00:00
dcone%netscape.com
0a2a9de92c Continued work on the Postscript Device and RenderingContexts.
Removed unessisary file, factory is not needed.
1999-01-07 14:50:53 +00:00
pavlov%pavlov.net
83607f1f5d remove debugging comment 1999-01-06 02:06:00 +00:00
pierre%netscape.com
2a1a1341f0 removed the handle locking/unlocking in Init() 1999-01-05 04:07:23 +00:00
pierre%netscape.com
ac05cfa842 commented out an annoying assert 1999-01-05 03:51:17 +00:00
pavlov%pavlov.net
3d01f1583c we now underline things. 1999-01-05 03:25:55 +00:00
blizzard%appliedtheory.com
1f45aecfb1 patch from Brian Ryner <bryner@uiuc.edu> for scaling fonts a little
better.
1998-12-29 21:08:11 +00:00
dcone%netscape.com
17b9100eae Cleanup of the ps directory, incremental changes 1998-12-24 15:25:04 +00:00
dcone%netscape.com
2e243d1ebe Took out files no longer needed for ps, updated all the files for postscript support 1998-12-21 22:13:04 +00:00
peterl%netscape.com
9cf2d5b9a3 rename string key to make buggy unix compilers happy 1998-12-21 05:55:44 +00:00
pavlov%pavlov.net
8e130a59d7 s/ :: /::/ 1998-12-19 18:01:17 +00:00
dcone%netscape.com
9eadd75926 Renamed files for the Postscript directory in GFX 1998-12-18 16:36:47 +00:00