Commit Graph

402 Commits

Author SHA1 Message Date
michaelp%netscape.com
c8b0ce6be3 improved documentation. made font handling more robust in the case of
unspecified font.
1998-10-02 18:19:30 +00:00
pierre%netscape.com
e6afa1f0e3 as reported by michaelp: set the native font in GetWidth() or DrawString(), not in SetFont(). 1998-10-02 09:48:30 +00:00
pierre%netscape.com
577887e723 a little cleanup (removed the commented-out unix code etc...) 1998-10-02 09:44:51 +00:00
michaelp%netscape.com
85317fe4bd moved GetWidth() APIs from fontmetrics to the renderingcontext. 1998-10-02 01:07:56 +00:00
rpotts%netscape.com
bb182e3b79 Pass a null nsIURLGroup into the ImageGroup initialize method... 1998-10-01 21:46:24 +00:00
rpotts%netscape.com
31b8dfe190 Added a nsIURLGroup to image URL creation. This allows the URLs to be loaded via the same document loader and use the same load attributes... 1998-10-01 21:40:58 +00:00
pierre%netscape.com
d9305ffa14 fixed GetWidth for italic strings fixed GetMaxAdvance, strikeout, underline, superscript etc... 1998-10-01 19:20:09 +00:00
rods%netscape.com
94edeb4e9f Added {} block in switch statement to make it compile on Linux 1998-10-01 19:19:45 +00:00
spider%netscape.com
32102604c7 Making LineDDA Much Much Faster ... 1998-10-01 17:00:10 +00:00
dcone%netscape.com
7d64db4775 Took out obsolete file (nsFontsache) 1998-10-01 14:30:47 +00:00
dcone%netscape.com
9ca1c7cbcc fixed a compile error in the stubbed setfont. 1998-10-01 14:30:07 +00:00
michaelp%netscape.com
4429ccc2df added new SetFont() that takes fontmetrics. 1998-10-01 03:36:06 +00:00
spider%netscape.com
732d035c7c Implemented LineStyle's in RenderingContext 1998-09-30 22:24:46 +00:00
michaelp%netscape.com
451b9b2a18 we no longer have a public font cache. removed circular refs between font cache
and device context.
1998-09-30 18:58:24 +00:00
peterl%netscape.com
1581380361 made alias font use static strings 1998-09-29 23:38:50 +00:00
pinkerton%netscape.com
1fff0d4271 Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon. 1998-09-29 17:11:00 +00:00
pierre%netscape.com
18a827d6b3 fix drawing over other apps' windows 1998-09-29 00:20:50 +00:00
dcone%netscape.com
72b9b9f720 fixed double buffer stuff 1998-09-28 17:02:32 +00:00
dcone%netscape.com
31dd51f1e7 fixed some double buffer things 1998-09-28 17:02:08 +00:00
michaelp%netscape.com
bde88858f3 now supports direct draw using MSVC 5.0. 1998-09-27 22:35:54 +00:00
dcone%netscape.com
f4633cbf9b Added setorigin to init and destructor 1998-09-25 22:19:54 +00:00
pierre%netscape.com
daa9039400 added SetFont + call it before calculating the Width or Height 1998-09-23 09:29:51 +00:00
pierre%netscape.com
ba412395ad added SetFont 1998-09-23 09:28:54 +00:00
pierre%netscape.com
93a16ac7a9 moved SetFont guts to nsFontMetricsMac 1998-09-23 09:28:05 +00:00
rpotts%netscape.com
f4ce9643d0 Changed the order for deleting nsImageRequsts and the ImageGroupContext... 1998-09-22 00:27:12 +00:00
dcone%netscape.com
d4cca3a958 Fixed alpha layer 1998-09-21 21:46:39 +00:00
dcone%netscape.com
aef6edd3ff *** empty log message *** 1998-09-21 21:43:58 +00:00
rpotts%netscape.com
11c373c6f3 Added missing NS_RELEASE(...) 1998-09-20 05:28:25 +00:00
mcafee%netscape.com
649d65040d Adding support for Rhapsody 1998-09-19 08:51:59 +00:00
mcafee%netscape.com
ef1b1b183a Initial stub version for Rhapsody 1998-09-19 07:31:47 +00:00
pierre%netscape.com
2476c7de27 use UnitConversion macros + some cleanup in DrawString 1998-09-19 01:38:51 +00:00
pierre%netscape.com
07bad234d9 use UnitConversion macros + some cleanup in GetWidth 1998-09-19 01:38:10 +00:00
troy%netscape.com
49ec74342f Changed some code to use NS_NEWPCOM and NS_DELETEXPCOM 1998-09-17 20:25:26 +00:00
troy%netscape.com
3fda711eb9 Changed some AddRef() and Release() calls to use the XP-COM macros 1998-09-17 19:49:10 +00:00
pierre%netscape.com
30dc76d33f SetFont supports styles. Drawstring doesn't draw the 0's in Unicode strings. 1998-09-17 08:08:26 +00:00
pierre%netscape.com
a328dab241 minor cleanup in GetXHeight, GetSuperscriptOffset and GetSubscriptOffset 1998-09-17 08:07:02 +00:00
pierre%netscape.com
3b172e673a added GetMacFontNumber and CheckFontExistence 1998-09-17 07:51:12 +00:00
valeski%netscape.com
bab22077b8 ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
peterl%netscape.com
a934377cc0 added decoration metrics api 1998-09-17 00:17:43 +00:00
peterl%netscape.com
4a06f95f5d connected outline metrics 1998-09-17 00:17:23 +00:00
peterl%netscape.com
4fef07a869 changed overline code to use font metrics 1998-09-17 00:15:56 +00:00
peterl%netscape.com
9338d3341a change scaling to be based on y pixel size 1998-09-17 00:15:22 +00:00
peterl%netscape.com
f512946077 added api for decoration metrics 1998-09-17 00:14:45 +00:00
peterl%netscape.com
bf2982d411 added decoration_none 1998-09-17 00:13:15 +00:00
pierre%netscape.com
128a5d4022 add refcount in GetFontMetrics + fix TextSize 1998-09-17 00:07:31 +00:00
pierre%netscape.com
22a9f5b2d7 fix FontMetrics (getting better but still temporary code) 1998-09-16 22:49:36 +00:00
pierre%netscape.com
65606bb822 fix SetFont (still temporary code) 1998-09-16 22:46:36 +00:00
dcone%netscape.com
9761f1f6d2 fixed some image bugs 1998-09-16 16:28:33 +00:00
dcone%netscape.com
3b6d9904a7 Fixed a few image bugs 1998-09-16 16:28:07 +00:00
dcone%netscape.com
d41e8e7875 fixed colorspace stuff 1998-09-16 16:27:36 +00:00