OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6876ef9
)
Replaced CGContextShowGlyphsWithAdvances (deprecated as of 10.9) with CGContextShowGl...
vmacos2.2.1-7a
author
Eric Branlund
<ebranlund@fastmail.com>
Fri, 29 Nov 2019 00:29:57 +0000
(16:29 -0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Fri, 29 Nov 2019 00:29:57 +0000
(16:29 -0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
c675622
..
f4a2163
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-1019,7
+1019,7
@@
static int compare_advances(const void *ap, const void *bp)
textMatrix = CGAffineTransformScale( textMatrix, 1.0, -1.0 );
CGContextSetTextMatrix(ctx, textMatrix);
- CGContextShowGlyphs
WithAdvances(ctx, &glyph, &CGSize
Zero, 1);
+ CGContextShowGlyphs
AtPositions(ctx, &glyph, &CGPoint
Zero, 1);
/* Restore the text matrix if we messed with the compression ratio */
if (compressionRatio != 1.)