[Bf-blender-cvs] CVS commit: blender/intern/bmfont/intern BMF_BitmapFont.cpp

Ton Roosendaal ton at blender.org
Sat Mar 26 11:59:49 CET 2005

ton (Ton Roosendaal) 2005/03/26 11:59:49 CET

  Modified files:
    blender/intern/bmfont/intern BMF_BitmapFont.cpp 
  Added the is_a_really_crappy_nvidia_card() call in BMF_DrawString(), this
  to solve a bug in NVidia 6800 drivers of MacOSX G5. It is #ifdeffed for
  OSX only, and queries for a NVidia 6800 card to activate the patch.
  The issue is that these drivers forgot to correctly implement viewport()
  offset for drawing bitmap fonts, causing text display in Blender to be
  invisible, except for the leftmost/bottom sub window.
  This hack will be removed when Apple releases a driver upgrade, which is
  unknown when to happen. Has to be decided still if this is worth for a
  release, or that we provide the hack as separate download.
  Thanks Randall Rickert for all testing, and Daniel for code review! :)
  Revision  Changes    Path
  1.5       +25 -3     blender/intern/bmfont/intern/BMF_BitmapFont.cpp

More information about the Bf-blender-cvs mailing list