Commit Graph

22 Commits

Author SHA1 Message Date
eknauel 7040a29760 - Don't export fontsets --- that'll make memory handling and calling
finalizers much more complicated.  Convert fontset to a list of
  patterns instead.

- Don't add a finalizer to pattern returned xft-font-match.  This
  seems to be the reason for the segfaults.  However, I have to admit
  don't fully understand why this is so.
2004-04-27 16:15:19 +00:00
eknauel afb80004d6 fix some issues with freeing Xft/fontconfig resources.
Remaining problem:

  - XftFontsetDestroy() calls free() for each XftPattern stored in the
    Fontset.  XftPatterns created by MAKE-XFT-PATTERN get their own
    finalizer, thus if added to the fontset, there might be two calls
    to free() for that object.  That needs fixing.
2004-04-25 09:27:40 +00:00
eknauel e5cb004372 + renamed a bogus occurence oft make-xft-draw 2003-10-28 10:28:25 +00:00
eknauel 3b66e8fcbe Got rid of the ridiculous scx- prefix 2003-10-27 10:06:25 +00:00
eknauel 6097628ca7 + fixed scx-xft-font-match 2003-10-27 07:49:20 +00:00
eknauel dd2a4248c3 + fixed finalizer for xft-font
+ added XftDefaultSubstitute
+ added XftFontSet count/ref
2003-10-26 19:00:42 +00:00
eknauel 359f7342ad + functions for accessing values inside a XftFont 2003-10-26 16:42:31 +00:00
eknauel 315948f857 + export some Xft constants to Scheme
+ finite types for some Xft pattern objects: xft-weight, xft-slant,
  xft-spacing, xft-rgba

+ functions for translating Xft constants to finite types

+ make XftPatternGet/Add() use the finite types

+ fixed a serious bug in scx_XftPatternAdd
2003-10-25 16:24:46 +00:00
eknauel 9d13fd2930 + predicates for Xft return codes 2003-10-25 13:48:04 +00:00
eknauel 6fa50d8c3d + Put Xft pattern objects into finite type xft-pattern-object 2003-10-25 13:20:47 +00:00
eknauel c6dcfb9fbc fixed scx_XftColorAllocValue() and its scheme counterpart 2003-10-24 06:27:02 +00:00
eknauel 9edc619ab1 scx-xft-color-alloc-name 2003-10-23 17:18:55 +00:00
eknauel 98b492b00d add xft-draw-string-8bit 2003-10-23 17:18:30 +00:00
eknauel 6a7e9007d7 + fixed gc'ing for xft-color and xft-fontset objects (maybe...)
+ provide more functions for xft-fontsets
+ accept scx's screen-type instead of the raw screen-number
+ added debugging functions XftPatternPrint(), XftFontSetPrint()
+ added XftDefaultHasRender()
2003-10-17 08:38:24 +00:00
eknauel 8892dd700c + added support for XRenderColor 2003-10-17 08:34:07 +00:00
eknauel 5c69abfa05 + fixed typo
+ fixed import of c vars
2003-10-16 16:05:03 +00:00
eknauel a289e7a1d3 + fixed interfaces for Xft stuff
+ added xft package
2003-10-16 16:04:16 +00:00
eknauel bd39b49201 + better handling of functions specific to Xft 2
+ added interface definitions
2003-10-14 15:27:33 +00:00
eknauel ff15c7cd3a + added support for XGlyphInfo (part of the Xrender extension)
+ many bugfixes for xft.[ch]
+ added some interfacing scheme code
2003-10-13 15:27:19 +00:00
frese 10558fa5f0 - fixed GC_PROTECT bugs
- replaced most of symbol or symbol list arguments by enumerated types,
  enum-sets and alists of enumerated types.
- reformed event representation. Every event has it's own record-type now.
2002-02-08 17:09:43 +00:00
frese 72bfd523d1 - added xpm package. 2002-01-28 00:22:06 +00:00
frese 70c363f042 - implemented read-file-to-pixmap and create-pixmap-from-data. 2002-01-28 00:21:16 +00:00