summaryrefslogtreecommitdiff
path: root/src/FreeType/ftfuncs.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-08-03 16:12:53 +0000
committerEgbert Eich <eich@suse.de>2004-08-03 16:12:53 +0000
commit0cbe4e38042a21ee193b2fda42fa647e23f61758 (patch)
treed323cc10f6df2ca96efb6f9bb0ebef49ae2fc8da /src/FreeType/ftfuncs.c
parent3ebaa297368aaf4c49caf179d2032c1678066663 (diff)
fixed typo
Diffstat (limited to 'src/FreeType/ftfuncs.c')
-rw-r--r--src/FreeType/ftfuncs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/FreeType/ftfuncs.c b/src/FreeType/ftfuncs.c
index 043ec8c..f53e3c9 100644
--- a/src/FreeType/ftfuncs.c
+++ b/src/FreeType/ftfuncs.c
@@ -25,7 +25,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* $XdotOrg: xc/lib/font/FreeType/ftfuncs.c,v 1.3 2004/05/04 18:47:31 gisburn Exp $ */
+/* $XdotOrg: xc/lib/font/FreeType/ftfuncs.c,v 1.5 2004/08/03 09:02:17 eich Exp $ */
/* $XFree86: xc/lib/font/FreeType/ftfuncs.c,v 1.43 2004/02/07 04:37:18 dawes Exp $ */
@@ -1077,9 +1077,8 @@ FreeTypeRasteriseGlyph(unsigned idx, int flags, CharInfoPtr tgp,
rightSideBearing += instance->ttcap.rsbShiftOfBitmapAutoItalic;
leftSideBearing += instance->ttcap.lsbShiftOfBitmapAutoItalic;
/* */
- factor = instance->ttcap.scaleBBoxWidth;
- rawCharacterWidth = bitmap_metrics->horiAdvance;
- (unsigned short)(short)(floor(1000 * factor
+ factor = bitmap_metrics->horiAdvance;
+ rawCharacterWidth = (unsigned short)(short)(floor(1000 * factor
* instance->ttcap.scaleBBoxWidth * ratio / 64.
/ instance->pixel_size));
}