e551896df5
PR: 69853 Submitted by: Jake Hamby <jhamby@anobject.com> Approved by: phantom (maintainer)
21 lines
882 B
C++
21 lines
882 B
C++
$FreeBSD$
|
|
|
|
--- ../../j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp.orig Fri Jul 30 18:00:09 2004
|
|
+++ ../../j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp Fri Jul 30 22:11:36 2004
|
|
@@ -937,14 +937,14 @@
|
|
CMAPMapper::CharsToGlyphs(
|
|
int count, const Unicode16 unicodes[], UInt32 glyphs[]) const
|
|
{
|
|
- ConvertUnicodeToGlyphs(*font, (unsigned char *)cmap, count, unicodes, glyphs);
|
|
+ ConvertUnicodeToGlyphs(*font, (byte*&)cmap, count, unicodes, glyphs);
|
|
}
|
|
|
|
void
|
|
CMAPMapper::CharsToGlyphs(
|
|
int count, const Unicode32 unicodes[], UInt32 glyphs[]) const
|
|
{
|
|
- ConvertUnicodeToGlyphs(*font, (unsigned char *)cmap, count, unicodes, glyphs);
|
|
+ ConvertUnicodeToGlyphs(*font, (byte*&)cmap, count, unicodes, glyphs);
|
|
}
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|