module Fontina::Windows::QualifiedName
Constants
- PRIMARY
Public Instance Methods
score()
click to toggle source
# File lib/fontina/windows/package.rb, line 9 def score @score ||= case platform when :unicode then 3 when :mac then 5 if language == Windows.system_language[PRIMARY] when :windows if language == Windows.system_language then 7 elsif language[PRIMARY] == Windows.system_language[PRIMARY] then 6 elsif language == 'en-US' then 2 else 1 end end || 0 end