Changeset [6b6f5d98e4131b58c18556c5bdaf136577266ad9] by Aparajita Fishman

July 9th, 2012 @ 12:29 PM

Overhaul of system font handling

  • System fonts now track the currently configured system font at runtime.
  • You can specify CPFontCurrentSystemSize as a system font size to track the currently configured system font size at runtime.
  • Theme fonts and nib2cib now determine face and size at runtime, there is no need to recompile if the system font is changed in Info.plist.
  • All hard-coded references to 12.0 as a system font size have been replaced by the current system font size. https://github.com/cappuccino/cappuccino/commit/6b6f5d98e4131b58c18...

Committed by Aparajita Fishman

  • M AppKit/CPApplication.j
  • M AppKit/CPFont.j
  • M AppKit/CPMenu/CPMenu.j
  • M AppKit/CPMenu/_CPMenuBarWindow.j
  • M AppKit/CPMenuItem/CPMenuItem.j
  • M AppKit/CPMenuItem/_CPMenuItemView.j
  • M AppKit/CPTableHeaderView.j
  • M AppKit/CPTextField.j
  • M AppKit/CPTokenField.j
  • M AppKit/CPWindow/_CPHUDWindowView.j
  • M AppKit/CPWindow/_CPStandardWindowView.j
  • M AppKit/Platform/DOM/CPPlatformString.j
  • M AppKit/Themes/Aristo/ThemeDescriptors.j
  • M AppKit/_CPImageAndTextView.j
  • M Tests/Manual/FontEnhancementTest/AppController.j
  • M Tests/Manual/FontEnhancementTest/Info.plist
  • M Tests/Manual/FontEnhancementTest/Resources/MainMenu.cib
  • M Tests/Manual/FontEnhancementTest/Resources/MainMenu.xib
  • M Tests/Manual/FontEnhancementTest/index-debug.html
  • M Tests/Manual/FontEnhancementTest/index.html
  • M Tests/Manual/FontMetricsExplorer/Resources/MainMenu.cib
  • M Tests/Manual/FontMetricsExplorer/Resources/MainMenu.xib
  • M Tools/fontinfo/fontinfo.xcodeproj/project.pbxproj
  • M Tools/imagesize/imagesize.xcodeproj/project.pbxproj
  • M Tools/nib2cib/Converter+Mac.j
  • M Tools/nib2cib/NSFont.j
  • M Tools/nib2cib/NSTableColumn.j
  • M Tools/nib2cib/Nib2Cib.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins