fredkiefer
1a15d0393e
Replace xlib specific font enumerator with the shared one for fontconfig.
...
Add glyph cache for GSXftFontInfo.
2018-02-05 20:50:48 +01:00
Fred Kiefer
fdb3429ef0
* Source/xlib/GSXftFontInfo.m
...
* Source/xlib/XGFontManager.m
* Source/xlib/XGBitmap.m: Remove some compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37519 72102866-910b-0410-8b05-ffd578937521
2013-12-26 13:02:56 +00:00
Fred Kiefer
ea4772c07e
* Source/winlib/WIN32FontEnumerator.m,
...
* Source/cairo/CairoFontEnumerator.m,
* Source/xlib/GSXftFontInfo.m,
* Source/xlib/XGFont.m: Use NSDebugLLog instead of NSDebugLog to
reduce amount of default output.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34493 72102866-910b-0410-8b05-ffd578937521
2012-01-11 08:47:27 +00:00
Fred Kiefer
b693e927c6
For XFT Also request spacing information.
...
Patch by Derek Fawcus <dfawcus@employees.org>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31109 72102866-910b-0410-8b05-ffd578937521
2010-08-10 19:21:31 +00:00
Fred Kiefer
92fdccd8d3
Adjust to the CGFloat change for NSFont
...
and NSAffineTransform done in base and gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29689 72102866-910b-0410-8b05-ffd578937521
2010-02-20 16:33:30 +00:00
Fred Kiefer
15c9010eeb
* Source/cairo/CairoFontEnumerator.m,
...
* Source/xlib/GSXftFontInfo.m: Use DejaVu as another fallback
font, as Bitstream Vera and FreeSans are no longer supplied
directly by Debian.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28414 72102866-910b-0410-8b05-ffd578937521
2009-07-27 15:06:55 +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
Fred Kiefer
c6f39a9553
Correct the setting of fontBBoxCorrect the setting of fontBBox..
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26757 72102866-910b-0410-8b05-ffd578937521
2008-07-11 23:08:36 +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
6b0246aa65
Don't use initialized memory. Patch by Sebastian Reitenbach
...
<sebastia@l00-bugdead-prods.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26577 72102866-910b-0410-8b05-ffd578937521
2008-05-27 19:58:56 +00:00
Fred Kiefer
76a82bc4d2
* Source/xlib/GSXftFontInfo.m (Ones): Correct the parameter
...
* name.
* Source/winlib/WIN32FontInfo.m (-glyphIsEncoded:): Add
* parameter
to windows call to supress defaults glyphs for missing ones.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26444 72102866-910b-0410-8b05-ffd578937521
2008-04-13 19:39:33 +00:00
Fred Kiefer
2015dcc588
Implement appendBezierPathWithGlyphs:count:toBezierPath: with code
...
copied over from the art backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26438 72102866-910b-0410-8b05-ffd578937521
2008-04-07 18:13:36 +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
18a0bea31e
Fix xlib font size bug with newer Fontconfig.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26000 72102866-910b-0410-8b05-ffd578937521
2008-01-24 18:44:37 +00:00
Fred Kiefer
2ca28c413e
Change stroke and fill to use NSColorSpace
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25711 72102866-910b-0410-8b05-ffd578937521
2007-12-10 15:34:56 +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
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
Fred Kiefer
7fb9200cb9
Corrected some typos in method signatures
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23312 72102866-910b-0410-8b05-ffd578937521
2006-08-17 21:14:05 +00:00
Fred Kiefer
223c1779f4
Cleanup in xlib backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22990 72102866-910b-0410-8b05-ffd578937521
2006-05-28 23:38:33 +00:00
Richard Frith-MacDonald
1139d62bb5
Fix irritating typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22938 72102866-910b-0410-8b05-ffd578937521
2006-05-16 13:22:10 +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
Adrian Robert
649d316cff
cache Xft draw state in XGGState and use this to speed glyph rendering in GSXftFontInfo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21218 72102866-910b-0410-8b05-ffd578937521
2005-05-12 13:43:18 +00:00
Adam Fedor
e71e98d0e0
* Source/win32/WIN32Server.m: Re-add 2005-02-23 change.
...
* Source/xlib/GSXftFontInfo.m (-setupAttributes): Make log message
more verbose.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21030 72102866-910b-0410-8b05-ffd578937521
2005-04-01 15:44:24 +00:00
Fred Kiefer
cfdf161246
Support for UTF8 font family names for XFT.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19939 72102866-910b-0410-8b05-ffd578937521
2004-08-30 15:27:14 +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
Fred Kiefer
231e905b7d
(setupAttributes)
...
Removed compiler warnings about unused variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16944 72102866-910b-0410-8b05-ffd578937521
2003-06-17 13:35:18 +00:00
Fred Kiefer
0616e7cbc2
In [setupAttributes] removed setting of fontDictionary values.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16561 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:49:27 +00:00
Adam Fedor
4a88a2b6a0
Protext id
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16270 72102866-910b-0410-8b05-ffd578937521
2003-03-26 04:09:26 +00:00
Fred Kiefer
dfe9d838b4
In [setupAttributes] moved the call to open the XFT font further
...
to the back as Derek Zhou claims that this takes over the
ownership of the pattern, which then results in strange behaviour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16090 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:42:05 +00:00
Fred Kiefer
da84ab5f02
Added fontconfig specific code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16083 72102866-910b-0410-8b05-ffd578937521
2003-02-27 01:24:38 +00:00
Alexander Malmberg
ad3d8e3e35
Convert glyph buffers to 16-bit buffers that the Xft functions can handle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15861 72102866-910b-0410-8b05-ffd578937521
2003-02-02 21:06:03 +00:00
Fred Kiefer
7376de0848
Added glyph methods needed for new text system.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15850 72102866-910b-0410-8b05-ffd578937521
2003-02-02 01:22:10 +00:00
Alexander Malmberg
ff599a6236
Update Xft font code with new backend/gui interface.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15729 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:29:13 +00:00
Adam Fedor
c0cffa34f0
Rename class
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15687 72102866-910b-0410-8b05-ffd578937521
2003-01-24 04:50:18 +00:00