Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 192597
Collapse All | Expand All

(-)src/org/eclipse/draw2d/ScaledGraphics.java (-2 / +2 lines)
Lines 294-300 Link Here
294
	graphics.drawTextLayout(scaled,
294
	graphics.drawTextLayout(scaled,
295
			(int)Math.floor(x * zoom + fractionalX),
295
			(int)Math.floor(x * zoom + fractionalX),
296
			(int)Math.floor(y * zoom + fractionalY),
296
			(int)Math.floor(y * zoom + fractionalY),
297
			selectionStart, selectionEnd, selectionBackground, selectionForeground);
297
			selectionStart, selectionEnd, selectionForeground, selectionBackground);
298
	scaled.dispose();
298
	scaled.dispose();
299
}
299
}
300
300
Lines 394-400 Link Here
394
	FontData data = (FontData)fontDataCache.get(f);
394
	FontData data = (FontData)fontDataCache.get(f);
395
	if (data != null)
395
	if (data != null)
396
		return data;
396
		return data;
397
	data = getLocalFont().getFontData()[0];
397
	data = f.getFontData()[0];
398
	fontDataCache.put(f, data);
398
	fontDataCache.put(f, data);
399
	return data;
399
	return data;
400
}
400
}

Return to bug 192597