<AWT Dev> [PATCH] Refactor X11FontManager

Roman Kennke rkennke at redhat.com
Fri Jan 2 13:59:25 UTC 2015


Hello,

I am currently working on a port of AWT/Java2D to DirectFB (using
Caciocavallo [1] as a porting layer).

I hit one obstacle that is the X11FontManager. I want to use fontconfig
to work with fonts, but can't use anything X11.

I refactored X11FontManager and related classes and native code to avoid
calling anything X11 specific. Basically I created a superclass of
X11FontManager called FcFontManager that does all the fontconfig related
stuff, and use that in my backend. The changes should not affect the X11
implementation.

Can you please review the changes here:

http://cr.openjdk.java.net/~rkennke/refactor-x11fm/webrev.00/

I would like to push this into jdk9-client if you think it's ok.

Best regards,
Roman

[1] http://openjdk.java.net/projects/caciocavallo/



More information about the awt-dev mailing list