• Mike Gabriel's avatar
    {dix/,hw/nxagent/NX}dixfont.{c,h}: Support using builtin-fonts. Makes dependency… · d981d938
    Mike Gabriel authored
    {dix/,hw/nxagent/NX}dixfont.{c,h}: Support using builtin-fonts. Makes dependency on X11's misc fonts package obsolete.
    
     This backports a mixture of these X.org commits (only focusing
     on SetDefaultFontPath() function):
    
     commit 03e8bfa1d122f7dea905d48c93cfd54afd991dfd
     Author: Alan Coopersmith <alan.coopersmith@oracle.com>
     Date:   Sat Nov 27 20:09:04 2010 -0800
    
        Convert existing Xprintf style calls to asprintf style
    Signed-off-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: 's avatarJeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: 's avatarMikhail Gusarov <dottedmag@dottedmag.net>
    
     commit 12e46e83733b47d2704e1509960192365102af46
     Author: Tiago Vignatti <tiago.vignatti@nokia.com>
     Date:   Fri Mar 25 22:07:31 2011 +0200
    
        dix: fix memory leak in SetDefaultFontPath
    Signed-off-by: 's avatarTiago Vignatti <tiago.vignatti@nokia.com>
    Reviewed-by: 's avatarNicolas Peninguy <nico@lostgeeks.org>
    Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    
     commit 6592db6bb526f0c43b4c7b55859c629709e039b4
     Author: Mikhail Gusarov <dottedmag@dottedmag.net>
     Date:   Fri Jun 4 16:58:58 2010 +0700
    
        Get rid of xstrdup when argument is definitely non-NULL
    
        Replace xstrdup with strdup when either constant string is
        being duplicated or argument is guarded by conditionals and
        obviously can't be NULL
    Signed-off-by: 's avatarMikhail Gusarov <dottedmag@dottedmag.net>
    Reviewed-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    
     commit f56cbe1ef24415d0142b9a7d0ab0a031069ccb52
     Author: Rémi Cardona <remi@gentoo.org>
     Date:   Mon Sep 14 17:09:59 2009 +0200
    
        dix: append "built-ins" to the font path in SetDefaultFontPath
    
        49b93df8a3002db7196aa3fc1fd8dca1c12a55d6 made the hard dependency on
        a "fixed" font go away but only Xorg could use the built-ins fonts by
        default.
    
        With this commit, all DDXs get "built-ins" appended to their FontPath, not
        just Xorg.
    
        Tested with Xorg, Xvfb and Xnest.
    Signed-off-by: 's avatarRémi Cardona <remi@gentoo.org>
    Signed-off-by: 's avatarJon TURNEY <jon.turney@dronecode.org.uk>
    Tested-by: 's avatarJon TURNEY <jon.turney@dronecode.org.uk>
    Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    
     commit 49b93df8a3002db7196aa3fc1fd8dca1c12a55d6
     Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
     Date:   Wed Jan 7 19:37:03 2009 -0200
    
        Default to use standard bitmap fonts, with builtins as fallback
    
          The builtin-fonts configure option was removed, as it at best should
        have been a runtime option. Instead, now it always register all "font
        path element" backends, and adds built-ins fonts at the end of the
        default font path.
          This should be a more reasonable solution, to "correct" the most
        common Xorg FAQ (could not open default font 'fixed'), and also don't
        break by default applications that use only the standard/historical
        X Font rendering.
    Backported-to-NX-by: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
    
     Fixes ArcticaProject/nx-libs#84.
     Fixes ArcticaProject/nx-libs#285.
    d981d938
Name
Last commit
Last update
..
X11/include Loading commit data...
compext Loading commit data...
man Loading commit data...
.gitignore Loading commit data...
Agent.h Loading commit data...
Args.c Loading commit data...
Args.h Loading commit data...
Atoms.c Loading commit data...
Atoms.h Loading commit data...
Binder.c Loading commit data...
Binder.h Loading commit data...
Client.c Loading commit data...
Client.h Loading commit data...
Clipboard.c Loading commit data...
Clipboard.h Loading commit data...
Colormap.c Loading commit data...
Colormap.h Loading commit data...
Composite.c Loading commit data...
Composite.h Loading commit data...
Cursor.c Loading commit data...
Cursor.h Loading commit data...
Dialog.c Loading commit data...
Dialog.h Loading commit data...
Display.c Loading commit data...
Display.h Loading commit data...
Drawable.c Loading commit data...
Drawable.h Loading commit data...
Error.c Loading commit data...
Error.h Loading commit data...
Events.c Loading commit data...
Events.h Loading commit data...
Extensions.c Loading commit data...
Extensions.h Loading commit data...
Font.c Loading commit data...
Font.h Loading commit data...
GC.c Loading commit data...
GCOps.c Loading commit data...
GCOps.h Loading commit data...
GCs.h Loading commit data...
Handlers.c Loading commit data...
Handlers.h Loading commit data...
Holder.c Loading commit data...
Holder.h Loading commit data...
Icons.h Loading commit data...
Image.c Loading commit data...
Image.h Loading commit data...
Imakefile Loading commit data...
Init.c Loading commit data...
Init.h Loading commit data...
Keyboard.c Loading commit data...
Keyboard.h Loading commit data...
Keystroke.c Loading commit data...
Keystroke.h Loading commit data...
Literals.h Loading commit data...
Millis.c Loading commit data...
Millis.h Loading commit data...
NXdamage.c Loading commit data...
NXdispatch.c Loading commit data...
NXdixfonts.c Loading commit data...
NXevents.c Loading commit data...
NXextension.c Loading commit data...
NXglxext.c Loading commit data...
NXglyph.c Loading commit data...
NXglyphcurs.c Loading commit data...
NXglyphstr_GlyphRef.h Loading commit data...
NXglyphstr_GlyphSet.h Loading commit data...
NXmiexpose.c Loading commit data...
NXmiglyph.c Loading commit data...
NXmitrap.c Loading commit data...
NXpicture.c Loading commit data...
NXpicturestr_PictSolidFill.h Loading commit data...
NXproperty.c Loading commit data...
NXrender.c Loading commit data...
NXresource.c Loading commit data...
NXshm.c Loading commit data...
NXwindow.c Loading commit data...
NXxvdisp.c Loading commit data...
Options.c Loading commit data...
Options.h Loading commit data...
Pixels.c Loading commit data...
Pixels.h Loading commit data...
Pixmap.c Loading commit data...
Pixmaps.h Loading commit data...
Pointer.c Loading commit data...
Pointer.h Loading commit data...
Reconnect.c Loading commit data...
Reconnect.h Loading commit data...
Render.c Loading commit data...
Render.h Loading commit data...
Rootless.c Loading commit data...
Rootless.h Loading commit data...
Screen.c Loading commit data...
Screen.h Loading commit data...
Splash.c Loading commit data...
Splash.h Loading commit data...
Split.c Loading commit data...
Split.h Loading commit data...
TestExt.c Loading commit data...
Trap.c Loading commit data...
Trap.h Loading commit data...
Utils.h Loading commit data...
Visual.c Loading commit data...
Visual.h Loading commit data...
Window.c Loading commit data...
Windows.h Loading commit data...
nxagent.xpm Loading commit data...
nxmissing.xpm Loading commit data...
screensaver Loading commit data...
x2go.xpm Loading commit data...