diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Style.cxx | 2 | ||||
| -rw-r--r-- | src/Style.h | 2 | ||||
| -rw-r--r-- | src/ViewStyle.cxx | 2 | 
3 files changed, 0 insertions, 6 deletions
| diff --git a/src/Style.cxx b/src/Style.cxx index ed30f5529..375738c67 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -45,10 +45,8 @@ FontMeasurements::FontMeasurements() {  }  void FontMeasurements::Clear() { -	lineHeight = 2;  	ascent = 1;  	descent = 1; -	externalLeading = 0;  	aveCharWidth = 1;  	spaceWidth = 1;  	sizeZoomed = 2; diff --git a/src/Style.h b/src/Style.h index cccf18f3e..85663acf2 100644 --- a/src/Style.h +++ b/src/Style.h @@ -43,10 +43,8 @@ public:  };  struct FontMeasurements { -	unsigned int lineHeight;  	unsigned int ascent;  	unsigned int descent; -	unsigned int externalLeading;  	XYPOSITION aveCharWidth;  	XYPOSITION spaceWidth;  	int sizeZoomed; diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 39d57b27c..737a23183 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -98,8 +98,6 @@ void FontRealised::Realise(Surface &surface, int zoomLevel, int technology) {  	ascent = surface.Ascent(font);  	descent = surface.Descent(font); -	externalLeading = surface.ExternalLeading(font); -	lineHeight = surface.Height(font);  	aveCharWidth = surface.AverageCharWidth(font);  	spaceWidth = surface.WidthChar(font, ' ');  	if (frNext) { | 
