Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/fonts.cpp
Show First 20 Lines • Show All 301 Lines • ▼ Show 20 Line(s) | |||||
302 | } | 302 | } | ||
303 | 303 | | |||
304 | void FontAASettings::defaults() | 304 | void FontAASettings::defaults() | ||
305 | { | 305 | { | ||
306 | setExcludeTo(15); | 306 | setExcludeTo(15); | ||
307 | setExcludeFrom(8); | 307 | setExcludeFrom(8); | ||
308 | setAntiAliasing(1); | 308 | setAntiAliasing(1); | ||
309 | m_antiAliasingOriginal = m_antiAliasing; | 309 | m_antiAliasingOriginal = m_antiAliasing; | ||
310 | setDpi(96); | 310 | setDpi(0); | ||
311 | setSubPixelCurrentIndex(KXftConfig::SubPixel::NotSet); | 311 | setSubPixelCurrentIndex(KXftConfig::SubPixel::NotSet); | ||
312 | setHintingCurrentIndex(KXftConfig::Hint::NotSet); | 312 | setHintingCurrentIndex(KXftConfig::Hint::NotSet); | ||
313 | } | 313 | } | ||
314 | 314 | | |||
315 | #endif | 315 | #endif | ||
316 | 316 | | |||
317 | void FontAASettings::setExclude(bool exclude) | 317 | void FontAASettings::setExclude(bool exclude) | ||
318 | { | 318 | { | ||
▲ Show 20 Lines • Show All 393 Lines • Show Last 20 Lines |