Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/kxftconfig.cpp
Show First 20 Lines • Show All 435 Lines • ▼ Show 20 Line(s) | 428 | { | |||
---|---|---|---|---|---|
436 | } | 436 | } | ||
437 | } | 437 | } | ||
438 | 438 | | |||
439 | QString KXftConfig::description(SubPixel::Type t) | 439 | QString KXftConfig::description(SubPixel::Type t) | ||
440 | { | 440 | { | ||
441 | switch (t) { | 441 | switch (t) { | ||
442 | default: | 442 | default: | ||
443 | case SubPixel::NotSet: | 443 | case SubPixel::NotSet: | ||
444 | return i18nc("use system subpixel setting", "Vendor Default"); | 444 | return i18nc("use system subpixel setting", "Vendor default"); | ||
445 | case SubPixel::None: | 445 | case SubPixel::None: | ||
446 | return i18nc("no subpixel rendering", "None"); | 446 | return i18nc("no subpixel rendering", "None"); | ||
447 | case SubPixel::Rgb: | 447 | case SubPixel::Rgb: | ||
448 | return i18n("RGB"); | 448 | return i18n("RGB"); | ||
449 | case SubPixel::Bgr: | 449 | case SubPixel::Bgr: | ||
450 | return i18n("BGR"); | 450 | return i18n("BGR"); | ||
451 | case SubPixel::Vrgb: | 451 | case SubPixel::Vrgb: | ||
452 | return i18n("Vertical RGB"); | 452 | return i18n("Vertical RGB"); | ||
Show All 21 Lines | 459 | { | |||
474 | } | 474 | } | ||
475 | } | 475 | } | ||
476 | 476 | | |||
477 | QString KXftConfig::description(Hint::Style s) | 477 | QString KXftConfig::description(Hint::Style s) | ||
478 | { | 478 | { | ||
479 | switch (s) { | 479 | switch (s) { | ||
480 | default: | 480 | default: | ||
481 | case Hint::NotSet: | 481 | case Hint::NotSet: | ||
482 | return i18nc("use system hinting settings", "Vendor Default"); | 482 | return i18nc("use system hinting settings", "Vendor default"); | ||
483 | case Hint::Medium: | 483 | case Hint::Medium: | ||
484 | return i18nc("medium hinting", "Medium"); | 484 | return i18nc("medium hinting", "Medium"); | ||
485 | case Hint::None: | 485 | case Hint::None: | ||
486 | return i18nc("no hinting", "None"); | 486 | return i18nc("no hinting", "None"); | ||
487 | case Hint::Slight: | 487 | case Hint::Slight: | ||
488 | return i18nc("slight hinting", "Slight"); | 488 | return i18nc("slight hinting", "Slight"); | ||
489 | case Hint::Full: | 489 | case Hint::Full: | ||
490 | return i18nc("full hinting", "Full"); | 490 | return i18nc("full hinting", "Full"); | ||
▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines |