[go: up one dir, main page]

Menu

#437 FontManager refactoring

Evaluate
open
nobody
None
5
2011-07-30
2008-04-09
Flash
No

This change separates the functions of FontManager into three classes. FontManager is retained as the manager of all fonts. BZFontFace is introduced as the manager of a specific font face, and all the rendering logic (interface) is moved there. BZFontFace_impl is created to encapsulate the implementation details of using the FTGL font system.

While this is provided as a patch, it is actually a wholesale replacement for FontManager.{h,cxx}, as well as the addition of two new classes. Also, the header files were brutally stripped of unneeded #include directives, exposing a couple of places where includes needed to be added in, so that headers are included at the lowest possible scope.

I apologize in advance for the size of this change, but there isn't really a way to do this in any smaller scale.

Discussion

  • Flash

    Flash - 2008-04-09

    More detailed description of the change and resulting (public) interface

     
  • Flash

    Flash - 2008-04-09

    Logged In: YES
    user_id=1627541
    Originator: YES

    File Added: fm4.patch

     
  • Flash

    Flash - 2008-04-09

    Logged In: YES
    user_id=1627541
    Originator: YES

    File Added: BZFontFace.h

     
  • Flash

    Flash - 2008-04-09

    Logged In: YES
    user_id=1627541
    Originator: YES

    File Added: BZFontFace_impl.h

     
  • Flash

    Flash - 2008-04-09

    Logged In: YES
    user_id=1627541
    Originator: YES

    File Added: BZFontFace.cxx

     
  • Flash

    Flash - 2008-04-09

    Logged In: YES
    user_id=1627541
    Originator: YES

    File Added: BZFontFace_impl.cxx

     
  • Flash

    Flash - 2008-04-09

    the patch

     
  • Flash

    Flash - 2008-04-09

    Logged In: YES
    user_id=1627541
    Originator: YES

    File Added: fm4.patch

     
  • Jeff Myers

    Jeff Myers - 2011-07-30
    • milestone: --> Evaluate
     

Log in to post a comment.