Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Xext/xf86bigfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ XFree86BigfontExtensionInit()
+ (unsigned int) (65536.0 / (RAND_MAX + 1.0) * rand());
/* fprintf(stderr, "signature = 0x%08X\n", signature); */

FontShmdescIndex = AllocateFontPrivateIndex();
FontShmdescIndex = xfont2_allocate_font_private_index();

#if !defined(CSRG_BASED) && !defined(__CYGWIN__)
pagesize = SHMLBA;
Expand Down Expand Up @@ -511,7 +511,7 @@ ProcXF86BigfontQueryFont(ClientPtr client)
}
if (pDesc && !badSysCall) {
*(CARD32 *) (pCI + nCharInfos) = signature;
if (!FontSetPrivate(pFont, FontShmdescIndex, pDesc)) {
if (!xfont2_font_set_private(pFont, FontShmdescIndex, pDesc)) {
shmdealloc(pDesc);
return BadAlloc;
}
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la'

dnl Core modules for most extensions, et al.
REQUIRED_MODULES="[randrproto >= 1.2] renderproto [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto xextproto xproto xtrans xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto [kbproto >= 1.0.3]"
REQUIRED_LIBS="xfont fontenc"
REQUIRED_LIBS="xfont2 fontenc"

AM_CONDITIONAL(SCREENSAVER, [test "x$SCREENSAVER" = xyes])
if test "x$SCREENSAVER" = xyes; then
Expand Down
2 changes: 1 addition & 1 deletion dix/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ ProcQueryTextExtents(register ClientPtr client)
return (BadLength);
length--;
}
if (!QueryTextExtents(pFont, length, (unsigned char *) &stuff[1], &info))
if (!xfont2_query_text_extents(pFont, length, (unsigned char *) &stuff[1], &info))
return (BadAlloc);
reply.type = X_Reply;
reply.length = 0;
Expand Down
Loading