Added OPFontCreateWithFcPattern() and OPFontGetMaximumAdvancement().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37083 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGContext.m (CGContextShowGlyphsAtPositions):
Check if font size is 0, and log an error instead of continuing,
which seems to put the cairo context into an error state.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37085 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/cairo/CairoFontX11.m (-descent): Fix
descender calculation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37086 72102866-910b-0410-8b05-ffd578937521
Fixed changelog dates.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37092 72102866-910b-0410-8b05-ffd578937521
* Tests/texttest.m: Fix test: bug calculating glyph indicies
with the wrong font.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37096 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGFont.m:
* Source/OpalGraphics/internal/CGFontInternal.h:
* Source/OpalGraphics/cairo/CairoFontWin32.m:
* Source/OpalGraphics/cairo/CairoFontX11.m:
* Headers/CoreGraphics/CGFont.h: Add private OPFontGetGlyphWithCharacter
to get the glyph index for a character. The proper API is in CoreText
but that's not usable yet, unlike CGFont.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37098 72102866-910b-0410-8b05-ffd578937521
Added code testing how sub-images are being drawn into CGContext.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37104 72102866-910b-0410-8b05-ffd578937521
(Forgot to release the sub-images.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37105 72102866-910b-0410-8b05-ffd578937521
Opal: tweak xcode project

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37106 72102866-910b-0410-8b05-ffd578937521
Opal: improve sub-image test

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37107 72102866-910b-0410-8b05-ffd578937521
Opal: image loading fixes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37109 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGContext.m (opal_draw_surface_in_rect):
Use srcRect correctly, as well as the context alpha value.
* Tests/images.m: JPEG codec is broken, so use a png of the
world map to make the demo work.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37110 72102866-910b-0410-8b05-ffd578937521
Made creation of OpalGStateSnapshot resistant to being passed a nil context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37118 72102866-910b-0410-8b05-ffd578937521
Added gstate test. Currently this tests whether some CTM operations are correctly performed in a CGContext; namely, setting identity CTM, concatenating, and getting the current CTM.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37131 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGContext.m (CGContextGetCTM): Fix flipping logic. gstate.m test now passes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37133 72102866-910b-0410-8b05-ffd578937521
Resilience to nil. Better diagnostics.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37143 72102866-910b-0410-8b05-ffd578937521
Opal: fix typos

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37160 72102866-910b-0410-8b05-ffd578937521
        * Source/OpalGraphics/CGBitmapContext.m:
        Support all sort of alpha for RGB data.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37168 72102866-910b-0410-8b05-ffd578937521
Oapl: Add OPContextGetAlpha

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37181 72102866-910b-0410-8b05-ffd578937521