erik%netscape.com
3ed143ee6b
Bug 5304 -- we now assume 96dpi (we ignore the X server).
...
Also fixed problem with fonts when no font containing the requested glyph
could be found. (Thanks to Kipp for discovering this.)
1999-04-21 18:53:35 +00:00
dcone%netscape.com
45a30465ea
Implemented the DrawPolyline method.
1999-04-20 13:36:11 +00:00
pavlov%pavlov.net
27b574ed57
add some code that was accedentally removed last time
1999-04-18 20:07:31 +00:00
pavlov%pavlov.net
bd72acdf48
code cleanups
1999-04-18 19:31:16 +00:00
erik%netscape.com
1a70e1f12d
Fixed bugs 2522 and 4875. Switched from FONTSIGNATURE to cmap to figure
...
out which glyphs are available. Removed FONT_SWITCHING ifdef.
1999-04-16 20:01:12 +00:00
kipp%netscape.com
b556d2e592
Fixed to handle destroy callbacks better to unwind connections to image lib
1999-04-15 20:34:44 +00:00
toshok%hungry.com
077f6b4dd4
add ::'s
1999-04-15 08:56:14 +00:00
toshok%hungry.com
1a9104f53c
steal some drawing guts from ../motif
1999-04-15 08:54:51 +00:00
toshok%hungry.com
627cff7157
region code for xlib gfx.
1999-04-15 08:04:37 +00:00
alecf%netscape.com
6e4cee51d0
use new nsQuickSort rather than old XP_QSORT
1999-04-15 02:48:00 +00:00
kipp%netscape.com
47684f4950
Fix a memory corrupting issue with dangling references to nsImageRequests's
1999-04-13 21:55:11 +00:00
kipp%netscape.com
d8a3eab6db
Disable icon loading on unix and mac until netlib can cope
1999-04-13 21:54:43 +00:00
erik%netscape.com
5447721bb7
Win95's font enumerator returns less info (smaller structs). Added code
...
to get the info via another method. Also enlarged the Unicode range array
to prevent reading off the end. Added printf's for debugging the Unicode
ranges.
1999-04-13 20:04:51 +00:00
sspitzer%netscape.com
8b08c06722
some more cvs ignore work
1999-04-10 21:22:31 +00:00
pavlov%pavlov.net
4fd02bd7ee
use shared images where available for blending
1999-04-10 20:57:50 +00:00
pavlov%pavlov.net
9967d9730a
oops, ifdef'd out a tad too much code.
1999-04-10 20:10:55 +00:00
pavlov%pavlov.net
95b8cdff6f
code cleanups. begin work on using xshm
1999-04-10 19:36:40 +00:00
blizzard%redhat.com
249efebd9d
xlib based gfx skeleton code
1999-04-10 15:23:47 +00:00
briano%netscape.com
95083e0ab1
It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.
1999-04-10 01:05:53 +00:00
pinkerton%netscape.com
fc0abb60de
Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
1999-04-10 00:15:14 +00:00
michaelp%netscape.com
3aaca7efd2
flush the font cache after setting a new zoom value.
1999-04-08 22:41:17 +00:00
michaelp%netscape.com
5d2820f0f1
cleaned.
1999-04-08 22:40:20 +00:00
ftang%netscape.com
7bfbfc5401
fix bug 4694. Change the Hangul block to the Unicode 2.0 Hangul rnage from 1.1 rnage
1999-04-08 21:38:07 +00:00
erik%netscape.com
0170e093e7
Fix for bug 4627. Tested by Bruce Mitchener. Approved by Chris Yeh.
1999-04-08 17:12:12 +00:00
ramiro%netscape.com
9bc8eac86b
Comment out a annoying printf. Approved by cyeh.
1999-04-07 07:04:35 +00:00
pavlov%pavlov.net
b860a7b544
fix for double freeing
1999-04-07 06:36:38 +00:00
pavlov%pavlov.net
ed3de3ccfe
rot13'd all the files to make them appear much prettier, and in the process fixed some bugs i believe.
1999-04-07 04:02:44 +00:00
pierre%netscape.com
c23b749174
added nsATSUIUtils.cpp
moved the ATSUI code out of nsRenderingContextMac
1999-04-07 03:18:53 +00:00
pierre%netscape.com
76bdb5ffcb
made the destructor public
1999-04-07 03:17:03 +00:00
pierre%netscape.com
bd50da1008
First Checked In.
1999-04-07 03:16:22 +00:00
erik%netscape.com
b2c378b19c
Bug 4573. Was not dealing with the case where only a scalable font was
...
available (no bitmap fonts). Fixed.
1999-04-06 19:45:38 +00:00
ramiro%netscape.com
67a963d871
Add SetClip{Rect,Region} tracing debug code.
1999-04-06 13:22:21 +00:00
ramiro%netscape.com
f161d44deb
Add #ifdef copy flag debug printfs.
1999-04-06 12:48:46 +00:00
michaelp%netscape.com
9a556422fd
enabled creation of blender objects.
1999-04-05 22:49:18 +00:00
erik%netscape.com
c51b1e3ce3
Got rid of some tabs.
1999-04-05 22:31:58 +00:00
syd%netscape.com
91ce66fe70
Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI).
1999-04-05 21:45:08 +00:00
erik%netscape.com
1134e864ad
Added font scaling. It will try to scale the font if it's available, and
...
the desired size is more than 20% larger or smaller than an available
bitmap font.
1999-04-05 21:30:07 +00:00
ftang%netscape.com
c006f4fb85
Fix breakage. Add #include <Resources.h>
1999-04-05 18:38:27 +00:00
erik%netscape.com
dc492e0ddd
Add some space beneath East Asian characters for the underline. Also,
...
adjust their baseline to sit above the underline.
1999-04-05 18:30:12 +00:00
ftang%netscape.com
d5b29173d7
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
1999-04-05 18:06:55 +00:00
ftang%netscape.com
4a84b0cc13
Add TextCommon and TextEncodingConverter lib
1999-04-05 18:05:12 +00:00
erik%netscape.com
edd1495b91
Adding Japanese support to the Unix/GTK font code.
1999-04-02 23:06:19 +00:00
erik%netscape.com
a6965d6ff2
AIX's compiler is strict. Fixed my code.
1999-04-02 20:34:14 +00:00
erik%netscape.com
d7565d3153
Need to check for dummy font family, and ignore. Corrected.
1999-04-02 19:40:11 +00:00
erik%netscape.com
11b9048ac7
Bold Japanese text was not working, since there are no bold Japanese fonts
...
on Linux. So I re-arranged the font tree to allow normal Japanese fonts to
be used instead.
1999-04-02 19:10:38 +00:00
erik%netscape.com
d131bf9840
Free the loaded fonts array. Start the loaded fonts array at size 1.
1999-04-02 15:52:29 +00:00
erik%netscape.com
17e03e568b
Throwing the switch. Flipped the FONT_SWITCHING ifdef. New font lookup
...
code is now live.
1999-04-02 15:36:01 +00:00
erik%netscape.com
e29fadb812
Fixed uninitialized memory problem, and added DrawString routine for new
...
FONT_SWITCHING code (for Unicode). To be enabled (ifdeffed) tomorrow AM.
1999-04-02 07:20:13 +00:00
ramiro%netscape.com
687f2c7ec0
Tweak code to allow blending to work on unix. It will currently work only
...
on certain depths and images. Demo10 works on 16 bit depths.
1999-04-01 22:29:44 +00:00
ramiro%netscape.com
e409f37b03
Implement GetDepth(). Before it was hardcoded to 24 in the superclass.
1999-04-01 21:58:46 +00:00
erik%netscape.com
cd88d373ac
Initial check-in of new X/GTK font code. Improved font-weight "bolder"
...
and "lighter", more accurate font-size (max ascent and max descent),
better speed.
However, ifdeffed for now to try on various platforms.
1999-04-01 00:04:36 +00:00
jdunn%netscape.com
424be13edf
Include prenv to get PR_GetEnv prototype
1999-03-31 22:55:29 +00:00
erik%netscape.com
ed4845ef75
Fixed a compiler warning.
1999-03-31 22:52:51 +00:00
syd%netscape.com
f9bd5b0725
Fix for AIX build bustage.
1999-03-31 20:18:54 +00:00
syd%netscape.com
9a4f6a4898
Fix for AIX compatibility
1999-03-31 20:18:11 +00:00
syd%netscape.com
c8989121cb
Replace getenv with NSPR function, remove stdlib.h include. Partially done
...
for AIX build.
1999-03-31 20:17:01 +00:00
mcafee%netscape.com
8f86ec98c0
Some code got stomped, putting it back. Specifically we need a prototype for UnixPrData() for Solaris/CC.
1999-03-31 09:14:07 +00:00
ramiro%netscape.com
402796bcd0
Take gtk specific blender code out. Its not needed. All blender code is
...
fully XP now.
Also, turn off manufacturing of blender objects until unix speicifc issues
can be resolved. Otherwise, stuff like demo4 breaks.
1999-03-31 06:21:07 +00:00
michaelp%netscape.com
871efe1e70
now vends nsBlender rather than nsBlenderWin.
1999-03-31 06:07:12 +00:00
michaelp%netscape.com
4840a74963
made blender fully XP.
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
c9e134f2cd
kill nsBlenderWin
1999-03-31 04:53:25 +00:00
michaelp%netscape.com
7aaf980b75
killed
1999-03-31 04:53:11 +00:00
ramiro%netscape.com
532f507e84
delete vs. delete[] vs. free fixes.
...
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
pavlov%pavlov.net
63c416f00b
more work on Lock() and Unlock()
1999-03-30 01:52:05 +00:00
michaelp%netscape.com
4c6288cc8a
fixed problem of gImageManager becoming a dnagling reference to a dead object
...
by adding an additional reference to the global image manager when it is
created. current solution is that suggested by adam locke, but this really needs
to be a service so that we don't leak memory. also made destructor virtual
to correct warning pointed out by bruce@cybersight.com .
1999-03-30 01:43:32 +00:00
syd%netscape.com
90145235d4
Fix typo.
1999-03-30 01:42:08 +00:00
michaelp%netscape.com
13bac238a8
added virtual destructors where necessary as pointed out by bruce@cybersight.com.
1999-03-30 01:41:13 +00:00
syd%netscape.com
cbd76a9123
Fixed misspell of virtual.
1999-03-30 01:33:40 +00:00
syd%netscape.com
0c079f1687
Initialize mIsTopToBottom to PR_TRUE
1999-03-30 01:20:16 +00:00
syd%netscape.com
a587103068
Initialize mIsTopToBottom to PR_FALSE.
1999-03-30 01:04:48 +00:00
syd%netscape.com
7f001fd3f1
Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable.
1999-03-30 01:04:13 +00:00
syd%netscape.com
ce6300523c
Postscript colorimage code now queries platform to determine if image
...
rows are organized top to bottom, or bottom to top, and processes image
bytes depending on this order.
1999-03-30 01:02:46 +00:00
syd%netscape.com
778190028f
Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable
1999-03-30 01:00:32 +00:00
syd%netscape.com
7ae2664dc2
Implement GetBytesPix. Declare mIsTopToBottom member variable.
1999-03-30 00:59:16 +00:00
syd%netscape.com
61b887f85d
Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
1999-03-30 00:58:04 +00:00
syd%netscape.com
dbc46c529c
Get whether rows are organized top to bottom, or bottom to top in images.
1999-03-30 00:56:35 +00:00
ramiro%netscape.com
f1c8f56b98
Comment was messed up causing compiler to spew dumb messages.
1999-03-29 15:57:16 +00:00
pavlov%pavlov.net
b1e881dadb
build nsBlender.cpp under unix. this fixes builds.
1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
2aebb787e7
add nsBlender to unix
1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
19bd3ecb44
make file end with a newline
1999-03-27 23:14:38 +00:00
michaelp%netscape.com
15e558e715
added for guys from Nexware.
1999-03-27 00:25:26 +00:00
ramiro%netscape.com
131a03a4c1
Opps, forgot a debug abort().
1999-03-26 10:40:44 +00:00
ramiro%netscape.com
baf417e684
Fix 2 things.
...
1) dont do the RGB -> BGR conversion. Its not needed thanks
to a IMGLIB workaround i just checked in.
2) create a pixmap from the image data only ONCE for unique image bits and
re paint that, instead of doing this every single time we render.
1999-03-26 09:53:13 +00:00
ramiro%netscape.com
ff9b98f856
noisy fonts only on debug build.
1999-03-26 09:46:28 +00:00
ramiro%netscape.com
71089e6f15
print depth on debug printf
1999-03-26 09:43:57 +00:00
erik%netscape.com
7d226e6cb9
Unicode support for fonts on Windows. Reviewed by Michael Plitkins.
1999-03-25 23:41:36 +00:00
kipp%netscape.com
298c50d12a
Put my changes back in that don cone accidently removed
1999-03-24 15:57:24 +00:00
michaelp%netscape.com
c5ee58a5d6
fixed rect containment test.
1999-03-23 22:37:50 +00:00
michaelp%netscape.com
8e2a688d1c
fixed docs for ContainsRect().
1999-03-23 22:37:20 +00:00
dcone%netscape.com
2390d3883a
Took out nsOldDrawingSurfaceGTK.h, this was lost between checkins
1999-03-22 23:16:42 +00:00
dcone%netscape.com
8af2ed8eee
Include files added for default fonts
1999-03-22 21:48:16 +00:00
dcone%netscape.com
eba66ca1ff
Added UNIX support for postscript printing, fixed many bugs.
...
Added nsIDeviceContextSpecPS interface so we can do PS on any platoform, get
information from the print dialog.
1999-03-22 21:45:00 +00:00
kipp%netscape.com
fe12184d66
DIsabled a free of stack memory
1999-03-22 15:42:07 +00:00
pavlov%pavlov.net
517966a1f9
fix crash
1999-03-22 03:48:51 +00:00
pavlov%pavlov.net
6833c52f90
fix up some more ugly memory leaks.
1999-03-22 02:36:41 +00:00
pavlov%pavlov.net
3f592003a4
fix up some mem leaks caused by Push/PopState()
1999-03-22 01:50:34 +00:00
pavlov%pavlov.net
eb63856c74
fix a memory leak.
1999-03-21 21:50:59 +00:00
pavlov%pavlov.net
1d2ade1398
stomp a few more bugs from my previous checkin.
1999-03-21 21:31:58 +00:00
pavlov%pavlov.net
c0a1d36335
fix refcounting.
1999-03-21 21:01:21 +00:00
pavlov%pavlov.net
bf5cd32705
nsRenderingContextGTK now uses nsDrawingSurfaceGTK
1999-03-21 20:42:01 +00:00