disabled hanger handling and optical alignment, even for kerned text
svn: r916
This commit is contained in:
parent
dc7ddab153
commit
ccb17d8346
|
@ -1083,11 +1083,14 @@ static double DrawMeasUnicodeText(const char *text, int d, int theStrlen, int uc
|
||||||
| kATSLineDisableAllLayoutOperations
|
| kATSLineDisableAllLayoutOperations
|
||||||
| kATSLineUseDeviceMetrics
|
| kATSLineUseDeviceMetrics
|
||||||
| (use_cgctx ? 0 : kATSLineUseQDRendering));
|
| (use_cgctx ? 0 : kATSLineUseQDRendering));
|
||||||
ll_theTags[cnt] = kATSULineLayoutOptionsTag;
|
} else {
|
||||||
ll_theSizes[cnt] = sizeof(ATSLineLayoutOptions);
|
ll_attribs = (kATSLineHasNoHangers
|
||||||
ll_theValues[cnt] = &ll_attribs;
|
| kATSLineHasNoOpticalAlignment);
|
||||||
cnt++;
|
|
||||||
}
|
}
|
||||||
|
ll_theTags[cnt] = kATSULineLayoutOptionsTag;
|
||||||
|
ll_theSizes[cnt] = sizeof(ATSLineLayoutOptions);
|
||||||
|
ll_theValues[cnt] = &ll_attribs;
|
||||||
|
cnt++;
|
||||||
|
|
||||||
if (use_cgctx) {
|
if (use_cgctx) {
|
||||||
ll_theTags[cnt] = kATSUCGContextTag;
|
ll_theTags[cnt] = kATSUCGContextTag;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user