Alexander Malmberg
9ec13d3934
2005-11-19 21:39 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ARTContext.m (flip_bytes, byte_order)
(-initWithContextInfo:): Detect if the server doesn't have the same
endianness and adjust the color bitmasks if necessary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22044 72102866-910b-0410-8b05-ffd578937521
2005-11-19 20:15:53 +00:00
Richard Frith-Macdonald
08c5a3d3d0
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
Adrian Robert
eb8bbe29b1
initialize deltas index in drawString method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21639 72102866-910b-0410-8b05-ffd578937521
2005-08-16 04:02:50 +00:00
Adam Fedor
7a3f75f9ac
Update FSF Address
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
Adam Fedor
7bdbb00e8c
* Source/art/path.m ([ARTGState -_stroke:]): Change floorf->floor.
...
Fixes bug #12731 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21127 72102866-910b-0410-8b05-ffd578937521
2005-04-20 02:44:07 +00:00
Adrian Robert
4e5fe7c3ac
update impl for DPSshow to handle xshow, yshow, xyshow, ashow, widthshow, and awidthshow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20989 72102866-910b-0410-8b05-ffd578937521
2005-03-29 05:54:36 +00:00
Adam Fedor
cff8d92b5f
Add more info to log message
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20953 72102866-910b-0410-8b05-ffd578937521
2005-03-21 23:11:48 +00:00
Adam Fedor
8d35549838
* Source/art/blit.m (artcontext_setup_draw_info): Add mail address
...
to log message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20943 72102866-910b-0410-8b05-ffd578937521
2005-03-21 22:04:05 +00:00
Alexander Malmberg
df49274a8d
2005-02-05 00:44 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/path.m (-_clip_add_svp:): Handle the case where
no spans are generated for the path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20659 72102866-910b-0410-8b05-ffd578937521
2005-02-04 23:40:18 +00:00
Alexander Malmberg
82ca6dd14a
2005-01-21 21:51 Alexander Malmberg <alexander@malmberg.org>
...
Various warning and whitespace cleanups.
* Headers/x11/XGServerWindow.h,
* Source/art/ftfont.m,
* Source/gsc/GSGState.m,
* Source/win32/WIN32Server.m,
* Source/x11/XGDragView.m,
* Source/x11/XGServerEvent.m,
* Source/x11/XGServerWindow.m: Change signedness of various
variables.
* Tools/gpbs.m: Add missing ctype.h include.
* Source/x11/XGDrawView.m (-_setCursor): Initialize variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20591 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:49:29 +00:00
Alexander Malmberg
07284b164a
2005-01-20 22:39 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ARTContext.m (-initWithContextInfo:): Enable stroke
adjusting for the default gstate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20587 72102866-910b-0410-8b05-ffd578937521
2005-01-20 21:35:23 +00:00
Alexander Malmberg
6582a61927
2005-01-11 20:27 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ARTGState.h: Add strokeadjust ivar.
* Source/art/ARTContext.m (-DPScurrentstrokeadjust)
(-DPSsetstrokeadjust): Use the strokeadjust ivar.
* Source/art/path.m (-DPSrectclip::::): Don't use the optimized
path if the clipping path is complex.
(-_stroke::): Remove second argument, rename to ...
(-_stroke:): ... this. If strokeadjust is active, adjust the path
to make it clearer.
(-DPSrectstroke::::): Update _stroke::: call. Remove dash adjustment
code.
(-DPSstroke): Update _stroke:: call.
* Source/art/composite.m: Fix comment typo. Remove some old
debugging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20536 72102866-910b-0410-8b05-ffd578937521
2005-01-11 19:23:54 +00:00
Alexander Malmberg
621e1fc4ef
2005-01-11 16:15 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/blit.m: Remove #warning:s.
* Source/art/blit_scrapheap.m: Add mmx implementation of 15/16bpp
blit_alpha_opaque.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20535 72102866-910b-0410-8b05-ffd578937521
2005-01-11 15:11:39 +00:00
Alexander Malmberg
38d76b4b31
2005-01-11 16:01 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ftfont.m: Copy old contents to ftfont-old.m and
include that file if the freetype version is <2.1.8. Rewrite
this file to work with freetype >=2.1.8.
* Source/art/ftfont-old.m: New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20534 72102866-910b-0410-8b05-ffd578937521
2005-01-11 15:02:29 +00:00
Alexander Malmberg
24aee0f8b2
2004-11-09 23:15 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ftfont.m (fix_path): Don't prepend the path to absolute
file names.
(-initWithFontName:matrix:screenFont:): Initialize cachedGlyph.
(-advancementForGlyph:): Handle NSNullGlyph.
(-glyphForCharacter:): Return NSNullGlyph if there's no glyph for
the character.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20331 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:22:36 +00:00
Alexander Malmberg
cea9c4050e
* Source/art/ftfont.m: Add lineHeight ivar to FTFontInfo.
...
(+defaultLineHeightForFont): Implement.
(-initWithFontName:matrix:screenFont:): Set lineHeight.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20101 72102866-910b-0410-8b05-ffd578937521
2004-09-21 17:26:00 +00:00
Alexander Malmberg
55647cbdf1
Implement GSReadRect in art/.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19800 72102866-910b-0410-8b05-ffd578937521
2004-07-30 13:57:27 +00:00
Alexander Malmberg
feda605242
NSDebugLLog helpful error messages if something was wrong in the shader dictionary.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19727 72102866-910b-0410-8b05-ffd578937521
2004-07-13 01:14:38 +00:00
Alexander Malmberg
d68191c313
Check properly for control glyphs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19301 72102866-910b-0410-8b05-ffd578937521
2004-05-13 15:14:46 +00:00
Alexander Malmberg
88ebd73c93
Handle text drawing in windows with alpha buffers properly. Try to find good visuals before resorting to the default visual.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18721 72102866-910b-0410-8b05-ffd578937521
2004-02-29 20:45:05 +00:00
Alexander Malmberg
3e3c66025d
Handle NS{Device,Calibrated}BlackColorSpace correctly in image drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18646 72102866-910b-0410-8b05-ffd578937521
2004-02-24 14:48:35 +00:00
Fred Kiefer
8417031f94
Exchanged appendTransform: and prePendTransform:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18479 72102866-910b-0410-8b05-ffd578937521
2004-01-25 16:50:33 +00:00
Alexander Malmberg
de74b30570
Fix off-by-one error in horizontal clipping when transforming images.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18476 72102866-910b-0410-8b05-ffd578937521
2004-01-25 12:55:55 +00:00
Alexander Malmberg
2291618e83
Blitter optimizations and rounding fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18360 72102866-910b-0410-8b05-ffd578937521
2004-01-10 15:37:13 +00:00
Alexander Malmberg
27190e1de4
Fix handling of NSCompositeCopy.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18330 72102866-910b-0410-8b05-ffd578937521
2004-01-07 14:05:11 +00:00
Fred Kiefer
4c86b44b9c
Added missing .cvsignore files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18328 72102866-910b-0410-8b05-ffd578937521
2004-01-07 12:04:36 +00:00
Fred Kiefer
a374aad6f9
Adopted to changes in GUI header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18290 72102866-910b-0410-8b05-ffd578937521
2003-12-30 12:47:34 +00:00
Alexander Malmberg
8086d127a6
Use freetype's LCD subpixel code instead of scaling manually if the freetype used is sufficiently new.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18192 72102866-910b-0410-8b05-ffd578937521
2003-11-25 11:13:38 +00:00
Alexander Malmberg
31a3037fcb
Optimize -advancementForGlyph:. Cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18090 72102866-910b-0410-8b05-ffd578937521
2003-11-18 16:07:58 +00:00
Alexander Malmberg
46c1f411df
(-DPSrectclip::::): Make sure -DPSnewpath is called on all paths.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17777 72102866-910b-0410-8b05-ffd578937521
2003-10-04 12:30:33 +00:00
Adam Fedor
77b37a967b
Clear path after rectclip
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17769 72102866-910b-0410-8b05-ffd578937521
2003-10-03 03:50:02 +00:00
Alexander Malmberg
a2cf178126
Detect and handle large values by scaling them down in order to prevent overflow on large images.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17702 72102866-910b-0410-8b05-ffd578937521
2003-09-22 11:06:19 +00:00
Alexander Malmberg
29c7703f2b
Add some debug logging.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17637 72102866-910b-0410-8b05-ffd578937521
2003-09-07 23:40:01 +00:00
Alexander Malmberg
957a0e4d76
Override the new default font name methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17468 72102866-910b-0410-8b05-ffd578937521
2003-08-10 21:31:12 +00:00
David Ayers
98036d3302
* Source/art/GNUmakefile: Do not make headers publilc.
...
* Source/gsc/GNUmakefile: Ditto.
* Source/x11/GNUmakefile: Ditto.
* Source/xdps/GNUmakefile: Ditto.
* Source/xlib/GNUmakefile: Ditto.
* Headers/win32/*.h: Update includes for new header structure.
* Headers/winlib/*.h: Ditto.
* Headers/x11/XGServer.h: Ditto.
* Headers/xlib/*.h: Ditto.
* Source/art/ftfont.m: Ditto.
* Source/gsc/*.m: Ditto.
* Source/x11/*.m: Ditto.
* Source/xdps/*.m: Ditto.
* Source/xlib/*.m: Ditto.
* Tools/gpbs.m: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17409 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:57:11 +00:00
Alexander Malmberg
253eae545e
Handle freetype <=2.1.2 in the error reporting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17127 72102866-910b-0410-8b05-ffd578937521
2003-07-05 12:06:01 +00:00
Alexander Malmberg
c28d082604
Give more information when reporting FTC_SBitCache_Lookup() errors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17091 72102866-910b-0410-8b05-ffd578937521
2003-07-03 20:04:55 +00:00
Alexander Malmberg
5e9f36d111
(-initWithFontName:matrix:screenFont:): Return nil if it's not a valid font.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17088 72102866-910b-0410-8b05-ffd578937521
2003-07-02 15:38:35 +00:00
Alexander Malmberg
9c3ad84a95
Use the right flags when loading glyphs for freetype >=2.1.3. Anti-alias by default if GSFontAntiAlias isn't set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17083 72102866-910b-0410-8b05-ffd578937521
2003-07-01 14:39:34 +00:00
Alexander Malmberg
c4122018aa
Make handling of non-integer sized screen fonts consistent.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17066 72102866-910b-0410-8b05-ffd578937521
2003-06-29 15:36:28 +00:00
Alexander Malmberg
419f8c9e8c
Make nfont face name localization work. Add English and Swedish translations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17061 72102866-910b-0410-8b05-ffd578937521
2003-06-28 13:32:59 +00:00
Alexander Malmberg
c768a703c1
Add (experimental) handling of utf16 to glyph generation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17033 72102866-910b-0410-8b05-ffd578937521
2003-06-25 22:35:34 +00:00
Alexander Malmberg
dc0673ffca
Minor cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16950 72102866-910b-0410-8b05-ffd578937521
2003-06-17 18:08:59 +00:00
Alexander Malmberg
1a6c3e6734
Handle freetype v2.0.* correctly in the freetype version check.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16909 72102866-910b-0410-8b05-ffd578937521
2003-06-12 19:45:02 +00:00
Alexander Malmberg
684b8ddf3b
Implement -glyphWithName: and -appendBezierPathWithGlyphs:count:toBezierPath:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16902 72102866-910b-0410-8b05-ffd578937521
2003-06-11 13:33:34 +00:00
Alexander Malmberg
084a2548bd
Get it to compile with freetype <=2.1.2 and >=2.1.3.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16883 72102866-910b-0410-8b05-ffd578937521
2003-06-07 21:06:19 +00:00
Alexander Malmberg
3d01a03dd5
Clamp to range when getting samples. Use -doubleValue instead of -intValue where values may be real numbers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16748 72102866-910b-0410-8b05-ffd578937521
2003-05-19 16:27:39 +00:00
Alexander Malmberg
8aa01a22f5
Implement basic version of shfill operator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16745 72102866-910b-0410-8b05-ffd578937521
2003-05-17 22:06:05 +00:00
Alexander Malmberg
acb35ccbb4
Minor cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16744 72102866-910b-0410-8b05-ffd578937521
2003-05-17 22:05:29 +00:00
Alexander Malmberg
ebef30d1cc
Report errors in more cases.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16698 72102866-910b-0410-8b05-ffd578937521
2003-05-11 17:23:43 +00:00