48 Commits

Author SHA1 Message Date
pierre%netscape.com
52145bc04f end of the debate? changing the defaults back to 96 dpi and do display small fonts
git-svn-id: svn://10.0.0.236/trunk@29687 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:06:41 +00:00
pierre%netscape.com
719d4d9299 fixed a syntax error in DisplayVerySmallFonts(): the first time only we were returning a wrong value
git-svn-id: svn://10.0.0.236/trunk@29666 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:32:52 +00:00
pierre%netscape.com
6168cad56a added the "browser.display_very_small_fonts" pref
changed the default dpi to 72


git-svn-id: svn://10.0.0.236/trunk@29661 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:45:49 +00:00
pierre%netscape.com
b702b22ac9 #5000: added "browser.screen_resolution" pref
git-svn-id: svn://10.0.0.236/trunk@29602 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:20:58 +00:00
pierre%netscape.com
64524db947 #5000 "GFX changes required to assume 96 dpi default scaling": enabled the 96 dpi checked in earlier
git-svn-id: svn://10.0.0.236/trunk@29426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 08:20:49 +00:00
pierre%netscape.com
6e3a53131d #5000 "GFX changes required to assume 96 dpi default scaling"
git-svn-id: svn://10.0.0.236/trunk@29421 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:45:09 +00:00
ftang%netscape.com
1504193f4a Fix breakage. Add #include <Resources.h>
git-svn-id: svn://10.0.0.236/trunk@26306 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:38:27 +00:00
ftang%netscape.com
07c6905527 Fix non ASCII font name problem by using a hashtable . It also improve the performance for GetMacFontNum 25.4 time faster. Reviewed and approved by pierre
git-svn-id: svn://10.0.0.236/trunk@26302 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:06:55 +00:00
rods%netscape.com
d3e70b8d69 Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.


git-svn-id: svn://10.0.0.236/trunk@18225 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:55:27 +00:00
pierre%netscape.com
ee08981436 initialize the Rendering Context from a GrafPort to fix a crash on print
git-svn-id: svn://10.0.0.236/trunk@18158 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 08:41:21 +00:00
sfraser%netscape.com
e1318ff7cd 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.
git-svn-id: svn://10.0.0.236/trunk@17705 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:44:50 +00:00
pierre%netscape.com
b5170621b9 removed the handle locking/unlocking in Init()
git-svn-id: svn://10.0.0.236/trunk@17138 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 04:07:23 +00:00
pierre%netscape.com
2266917d12 commented out an annoying assert
git-svn-id: svn://10.0.0.236/trunk@17135 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 03:51:17 +00:00
pierre%netscape.com
fc485403b5 Call DeviceContextImpl::Init() just because Windows does it
git-svn-id: svn://10.0.0.236/trunk@16659 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:29:06 +00:00
dcone%netscape.com
47cce4fecb fixed resoluton problem for printing.
git-svn-id: svn://10.0.0.236/trunk@16521 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:02:38 +00:00
dcone%netscape.com
990c1c17d6 fixed the scaling bug
git-svn-id: svn://10.0.0.236/trunk@16462 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:22:40 +00:00
dcone%netscape.com
b18c392afc fixed some scaling issues for the mac, more to come
git-svn-id: svn://10.0.0.236/trunk@16443 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:56:53 +00:00
dcone%netscape.com
2ba4d4bfa5 Update routines for creating a rendering context, and fixed the printer routines.
git-svn-id: svn://10.0.0.236/trunk@16247 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:03:10 +00:00
pierre%netscape.com
30222ada44 Removed some include files
git-svn-id: svn://10.0.0.236/trunk@16041 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:14:46 +00:00
dcone%netscape.com
0aea51cac2 Added printing support
git-svn-id: svn://10.0.0.236/trunk@15781 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:02:57 +00:00
jfrancis%netscape.com
b80ec268a0 Shared Lib conversion
git-svn-id: svn://10.0.0.236/trunk@14794 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:37:42 +00:00
pinkerton%netscape.com
fa6c94850f fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
git-svn-id: svn://10.0.0.236/trunk@14775 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:08:01 +00:00
michaelp%netscape.com
7c96d12312 changes to support printing architecture and actual printing under windows.
git-svn-id: svn://10.0.0.236/trunk@14651 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:05:13 +00:00
pierre%netscape.com
32cba0e347 Set the scroll bar dimensions to 16 pixels instead of 10.
git-svn-id: svn://10.0.0.236/trunk@14388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:41:44 +00:00
saari%netscape.com
7ea3e11e01 Mac only change.
Don't unlock GDeviceHandles. Fixed.
Don't dereference unlocked handles. Fixed.


git-svn-id: svn://10.0.0.236/trunk@14221 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 01:45:03 +00:00
pierre%netscape.com
6b3655097e Cache data to improve performance in GetMacFontNumber()
git-svn-id: svn://10.0.0.236/trunk@14053 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:49:14 +00:00
michaelp%netscape.com
29bd495725 changes to support nsIRenderingContext that conforms to COM conventions.
git-svn-id: svn://10.0.0.236/trunk@13703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:08:25 +00:00
pierre%netscape.com
3058b55651 Landing MacWidgets...
git-svn-id: svn://10.0.0.236/trunk@13651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 14:06:26 +00:00
michaelp%netscape.com
aab130cc8b made CopyBits() more flexible. added better ddraw support for windows rendering
context. added ddraw support to windows blender. made CreateDrawingSurface()
able to be smarter.


git-svn-id: svn://10.0.0.236/trunk@13383 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:58:18 +00:00
pierre%netscape.com
f8e5880591 added GetMacFontNumber and CheckFontExistence
git-svn-id: svn://10.0.0.236/trunk@10251 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 07:51:12 +00:00
dcone%netscape.com
77bdb3d163 fixed colorspace stuff
git-svn-id: svn://10.0.0.236/trunk@10148 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 16:27:36 +00:00
thom%netscape.com
39b855dfd3 Copy and paste error (SomethingClassWin needed to change to somethingClassMac)
git-svn-id: svn://10.0.0.236/trunk@9196 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 02:54:11 +00:00
rods%netscape.com
65e3dacb58 Implemented ConvertPixel
git-svn-id: svn://10.0.0.236/trunk@9143 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:33:01 +00:00
troy%netscape.com
917cd408ec Change to GetRenderingContext
git-svn-id: svn://10.0.0.236/trunk@8645 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 21:09:25 +00:00
troy%netscape.com
c37f617b06 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions


git-svn-id: svn://10.0.0.236/trunk@8624 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:30:55 +00:00
dcone%netscape.com
b816bd348e Fixed some small bugs.
git-svn-id: svn://10.0.0.236/trunk@8622 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:03:15 +00:00
troy%netscape.com
3a6cdd1b67 Changes to nsIDeviceContext API
git-svn-id: svn://10.0.0.236/trunk@8598 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:14:35 +00:00
dcone%netscape.com
ca6bf4c1bd Finished the first pass at implementation
git-svn-id: svn://10.0.0.236/trunk@8368 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:10:57 +00:00
dcone%netscape.com
b8d3f3b8bb Updated to the correct way the DeviceContext should work, added the twips calculation
git-svn-id: svn://10.0.0.236/trunk@8329 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:11:15 +00:00
dcone%netscape.com
a9d4cc2a1b Re wrote these files to reflect the correct way of building Devicecontexts
git-svn-id: svn://10.0.0.236/trunk@8189 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:24:13 +00:00
kostello%netscape.com
77000c658c Fix mac build
git-svn-id: svn://10.0.0.236/trunk@8129 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:24:55 +00:00
troy%netscape.com
99d339efe3 Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code


git-svn-id: svn://10.0.0.236/trunk@8107 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:20:42 +00:00
kostello%netscape.com
d10145255f Fix mac build
git-svn-id: svn://10.0.0.236/trunk@7574 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:34:13 +00:00
peterl%netscape.com
dda3150013 changed nsFont to contain face lists in name
git-svn-id: svn://10.0.0.236/trunk@7510 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:12:34 +00:00
kostello%netscape.com
9e4dc10edf Added GetDepth method
git-svn-id: svn://10.0.0.236/trunk@7373 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:12:41 +00:00
pierre%netscape.com
f3ed50246f added declaration of pure virtual functions to fix build on Mac
git-svn-id: svn://10.0.0.236/trunk@7338 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:11:01 +00:00
peterl%netscape.com
ac2ec1a340 rounding support
git-svn-id: svn://10.0.0.236/trunk@6999 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:34:45 +00:00
thom
dc2387b8a6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5111 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:26:45 +00:00