Commit graph

146 commits

Author SHA1 Message Date
Fred Kiefer
af8b2e7883 Give more information on failed font face access.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27587 72102866-910b-0410-8b05-ffd578937521
2009-01-13 00:34:14 +00:00
Fred Kiefer
cf452fb2b4 Pure white space cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27507 72102866-910b-0410-8b05-ffd578937521
2009-01-04 15:56:09 +00:00
Nicola Pero
39076b64a9 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27349 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:05:05 +00:00
Nicola Pero
417a0e2cbf Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-back is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27335 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:51:49 +00:00
Richard Frith-MacDonald
aeddc7b908 Fix #24671
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27192 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:51:34 +00:00
Fred Kiefer
d6fc8b8e74 Try to keep the visual of art consistent with the one used by X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26849 72102866-910b-0410-8b05-ffd578937521
2008-09-14 21:22:54 +00:00
Fred Kiefer
cc5d04cdc4 Try to handle endianess differences better in the art backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26813 72102866-910b-0410-8b05-ffd578937521
2008-08-19 17:25:10 +00:00
Fred Kiefer
2c01043f5d Correct the sign of the descender in the bounding box.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26760 72102866-910b-0410-8b05-ffd578937521
2008-07-12 08:02:37 +00:00
Adam Fedor
250ebdfad0 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
Fred Kiefer
f2217879fb Backend support for appendBezierPathWithPackedGlyphs:.
Implementation of coveredCharacterSet on GSXftFontInfo.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26436 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:51:28 +00:00
Fred Kiefer
9e70cc09f7 Moved ligature handling code from art to gui. Small improvements for
other font classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26431 72102866-910b-0410-8b05-ffd578937521
2008-04-04 22:07:03 +00:00
Fred Kiefer
79d8eec276 Replaced old unpre-multiply hack with a proper solution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26256 72102866-910b-0410-8b05-ffd578937521
2008-03-09 22:21:03 +00:00
Fred Kiefer
445e2ea5ba Allow the handling of pre-multiplied bitmaps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26044 72102866-910b-0410-8b05-ffd578937521
2008-02-08 22:43:13 +00:00
Fred Kiefer
0f0191c547 Rework of context window device setting. Requires corresponding change
in gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25981 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:12:03 +00:00
Richard Frith-MacDonald
0ae3a96dc6 Another minor MacOS-X compatibility change ... can no longer assume NSDictionary.h is included by our other headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25637 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:34:25 +00:00
Fred Kiefer
0f8c5487c7 Change files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
Fred Kiefer
f2ac847ff4 Add a generic basic implementation for the DPSshfill: operator. This
needs to be optimized for each individual backend and the original art
implemenation should be moved to this.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25519 72102866-910b-0410-8b05-ffd578937521
2007-10-05 20:57:59 +00:00
Fred Kiefer
0848c69b72 Extracted code shared between the two ftfont files into new files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25409 72102866-910b-0410-8b05-ffd578937521
2007-08-22 11:54:13 +00:00
Fred Kiefer
05a23a6aae Correct minor bugs in last changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25393 72102866-910b-0410-8b05-ffd578937521
2007-08-15 13:42:36 +00:00
Fred Kiefer
0dd2da6751 Correct coveredCharacterSet. Patch by Yen-Ju Chen <yjchenx@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25387 72102866-910b-0410-8b05-ffd578937521
2007-08-13 16:08:22 +00:00
Fred Kiefer
87c48de8b4 Use local FT_Size variable instead of ivar. The ivar is sometimes
invalid.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25381 72102866-910b-0410-8b05-ffd578937521
2007-08-07 16:04:47 +00:00
Fred Kiefer
70c32e5675 Replaced appendTransform: with prependTransform:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25223 72102866-910b-0410-8b05-ffd578937521
2007-06-06 12:59:33 +00:00
Fred Kiefer
1c702a4308 Replace obsolte NSAffinetransform methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24926 72102866-910b-0410-8b05-ffd578937521
2007-03-23 11:27:28 +00:00
Fred Kiefer
680ea7befd Brought art backend closer to the GNUstep coding style.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24923 72102866-910b-0410-8b05-ffd578937521
2007-03-22 16:54:47 +00:00
Fred Kiefer
78ba818f54 Clean up of font attributes and better protection against _ct being null
in cairo backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24710 72102866-910b-0410-8b05-ffd578937521
2007-02-27 16:35:31 +00:00
Richard Frith-MacDonald
b11db22054 Minor tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24444 72102866-910b-0410-8b05-ffd578937521
2007-01-31 15:52:53 +00:00
Mark Tracy
30bfacc835 Fix bug #18260 in art backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24299 72102866-910b-0410-8b05-ffd578937521
2006-12-31 04:24:54 +00:00
Matt Rice
c4be026e77 * Source/art/ftfont.m (appendBezierPathWithGlyphs:count:toPath:):
Uncomment code and switch to using FTC_Manager_LookupSize.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24163 72102866-910b-0410-8b05-ffd578937521
2006-11-25 21:45:06 +00:00
Richard Frith-MacDonald
14f94508f0 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24141 72102866-910b-0410-8b05-ffd578937521
2006-11-21 10:46:50 +00:00
Richard Frith-MacDonald
16245dc2d3 Fix error getting metrix internals before prepending transform.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24135 72102866-910b-0410-8b05-ffd578937521
2006-11-19 13:23:03 +00:00
Richard Frith-MacDonald
4bd0a9f1b5 Use accessor for affine transform internals which should otherwise be private.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24131 72102866-910b-0410-8b05-ffd578937521
2006-11-19 11:08:09 +00:00
Nicola Pero
e708ccb6e6 Use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR, and DESTDIR instead of INSTALL_ROOT_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24095 72102866-910b-0410-8b05-ffd578937521
2006-11-15 17:06:17 +00:00
Richard Frith-MacDonald
eedc280b9d Window frame/coordinate handling cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23461 72102866-910b-0410-8b05-ffd578937521
2006-09-12 09:50:14 +00:00
Richard Frith-MacDonald
940a0eabbe Avoid spurious warnings produced by gcc-4.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23127 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:54:48 +00:00
Adam Fedor
8edd8da8ab Version 0.10.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22201 72102866-910b-0410-8b05-ffd578937521
2005-12-22 17:42:35 +00:00
Adam Fedor
d9db95f880 * Source/art/ARTContext.m ([ARTContext -beep]): Respect user setting
of bell volume.
* Source/x11/XGServe.m: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22191 72102866-910b-0410-8b05-ffd578937521
2005-12-20 20:36:59 +00:00
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