michaelp%netscape.com
28ac77c295
enabled creation of blender objects.
1999-04-05 22:49:18 +00:00
erik%netscape.com
a3adbdb65d
Got rid of some tabs.
1999-04-05 22:31:58 +00:00
syd%netscape.com
3edfeff5dd
Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI).
1999-04-05 21:45:08 +00:00
erik%netscape.com
8c2abbadfb
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
26362bcce3
Fix breakage. Add #include <Resources.h>
1999-04-05 18:38:27 +00:00
erik%netscape.com
6f2df38bda
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
fe360b2913
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
6d82ed3756
Add TextCommon and TextEncodingConverter lib
1999-04-05 18:05:12 +00:00
erik%netscape.com
5b7a609d90
Adding Japanese support to the Unix/GTK font code.
1999-04-02 23:06:19 +00:00
erik%netscape.com
9104d8320e
AIX's compiler is strict. Fixed my code.
1999-04-02 20:34:14 +00:00
erik%netscape.com
a1e0dcc7d6
Need to check for dummy font family, and ignore. Corrected.
1999-04-02 19:40:11 +00:00
erik%netscape.com
4427a09acb
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
8084d2183c
Free the loaded fonts array. Start the loaded fonts array at size 1.
1999-04-02 15:52:29 +00:00
erik%netscape.com
b36b571f63
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
d3c8326505
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
ff452fe61e
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
74df2deb9c
Implement GetDepth(). Before it was hardcoded to 24 in the superclass.
1999-04-01 21:58:46 +00:00
erik%netscape.com
6b3ee2d93d
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
ab5bde421e
Include prenv to get PR_GetEnv prototype
1999-03-31 22:55:29 +00:00
erik%netscape.com
a6d5903901
Fixed a compiler warning.
1999-03-31 22:52:51 +00:00
syd%netscape.com
ca263b2c48
Fix for AIX build bustage.
1999-03-31 20:18:54 +00:00
syd%netscape.com
98bf9f6e28
Fix for AIX compatibility
1999-03-31 20:18:11 +00:00
syd%netscape.com
2d0c4a5cbf
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
b5007d4bb3
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
936366514e
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
af46e48278
now vends nsBlender rather than nsBlenderWin.
1999-03-31 06:07:12 +00:00
michaelp%netscape.com
fe7e53d1be
made blender fully XP.
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
2c64e2a9e2
kill nsBlenderWin
1999-03-31 04:53:25 +00:00
michaelp%netscape.com
5bceeddf6c
killed
1999-03-31 04:53:11 +00:00
ramiro%netscape.com
de0f3f737c
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
a8fdb7be3a
more work on Lock() and Unlock()
1999-03-30 01:52:05 +00:00
michaelp%netscape.com
7e66c9a28e
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
c6f2006ddc
Fix typo.
1999-03-30 01:42:08 +00:00
michaelp%netscape.com
c6f76c4d7a
added virtual destructors where necessary as pointed out by bruce@cybersight.com.
1999-03-30 01:41:13 +00:00
syd%netscape.com
058dd1c863
Fixed misspell of virtual.
1999-03-30 01:33:40 +00:00
syd%netscape.com
ba9bd482be
Initialize mIsTopToBottom to PR_TRUE
1999-03-30 01:20:16 +00:00
syd%netscape.com
74f9123328
Initialize mIsTopToBottom to PR_FALSE.
1999-03-30 01:04:48 +00:00
syd%netscape.com
aed6f1a81c
Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable.
1999-03-30 01:04:13 +00:00
syd%netscape.com
f1dcc1f109
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
2850b6e828
Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable
1999-03-30 01:00:32 +00:00
syd%netscape.com
cc415051ed
Implement GetBytesPix. Declare mIsTopToBottom member variable.
1999-03-30 00:59:16 +00:00
syd%netscape.com
d4d63c9b67
Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
1999-03-30 00:58:04 +00:00
syd%netscape.com
652c0fd774
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
c1771d6c75
Comment was messed up causing compiler to spew dumb messages.
1999-03-29 15:57:16 +00:00
pavlov%pavlov.net
0116c5f559
build nsBlender.cpp under unix. this fixes builds.
1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
1cccf298e0
add nsBlender to unix
1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
946d040350
make file end with a newline
1999-03-27 23:14:38 +00:00
michaelp%netscape.com
4a22776591
added for guys from Nexware.
1999-03-27 00:25:26 +00:00
ramiro%netscape.com
ef24e6bc53
Opps, forgot a debug abort().
1999-03-26 10:40:44 +00:00
ramiro%netscape.com
bb74a84005
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