
Tipografi ve Font Tasarımı Rehberi: Yazı Sanatının İncelikleri
Tipografi ve Font Tasarımı Rehberi: Yazı Sanatının İncelikleri
Tipografi, yazı sanatının temelidir. Bu rehberde, font türlerini, tipografi prensiplerini ve modern tipografi trendlerini öğreneceksiniz.
Tipografi Nedir?
Tipografi, yazıların düzenlenmesi, tasarlanması ve görsel olarak sunulması sanatıdır. Sadece okunabilirlik değil, aynı zamanda estetik ve iletişim açısından da önemlidir.
Tipografinin Amacı
- Okunabilirlik: Metni kolay okunabilir hale getirmek
- Hiyerarşi: Bilgi önemini görsel olarak organize etmek
- Duygu: Metinle belirli duygular uyandırmak
- Marka Kimliği: Tutarlı görsel kimlik oluşturmak
Font Kategorileri
1. Serif Fontlar
Serif fontlar, harflerin uçlarında küçük çizgiler (serif) bulunan klasik fontlardır.
/* Serif font örnekleri */
.serif-fonts {
/* Times New Roman - Geleneksel serif */
.times-new-roman {
font-family: 'Times New Roman', Times, serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
/* Georgia - Modern serif */
.georgia {
font-family: Georgia, 'Times New Roman', serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
/* Garamond - Klasik serif */
.garamond {
font-family: 'Garamond', 'Times New Roman', serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
/* Baskerville - Zarif serif */
.baskerville {
font-family: 'Baskerville', 'Times New Roman', serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
}
/* Serif font kullanım alanları */
.serif-usage {
/* Başlıklar için */
.serif-heading {
font-family: 'Times New Roman', serif;
font-size: 2.5rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}
/* Uzun metinler için */
.serif-body {
font-family: Georgia, serif;
font-size: 1.125rem;
line-height: 1.7;
color: #2c3e50;
max-width: 65ch;
}
/* Resmi belgeler için */
.serif-formal {
font-family: 'Times New Roman', serif;
font-size: 1rem;
line-height: 1.6;
color: #2c3e50;
}
}
2. Sans-Serif Fontlar
Sans-serif fontlar, serif olmayan modern ve temiz görünümlü fontlardır.
/* Sans-serif font örnekleri */
.sans-serif-fonts {
/* Arial - Klasik sans-serif */
.arial {
font-family: Arial, Helvetica, sans-serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
/* Helvetica - Modern sans-serif */
.helvetica {
font-family: Helvetica, Arial, sans-serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
/* Verdana - Web için optimize */
.verdana {
font-family: Verdana, Geneva, sans-serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
/* Tahoma - Kompakt sans-serif */
.tahoma {
font-family: Tahoma, Geneva, sans-serif;
font-size: 1.5rem;
line-height: 1.6;
color: #2c3e50;
}
}
/* Sans-serif kullanım alanları */
.sans-serif-usage {
/* Web tasarımı için */
.web-body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 1rem;
line-height: 1.6;
color: #2c3e50;
}
/* Mobil uygulamalar için */
.mobile-text {
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 1rem;
line-height: 1.5;
color: #2c3e50;
}
/* Logo ve marka için */
.brand-text {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 600;
font-size: 1.25rem;
color: #2c3e50;
}
}
3. Display Fontlar
Display fontlar, dikkat çekici ve dekoratif amaçlı kullanılan fontlardır.
/* Display font örnekleri */
.display-fonts {
/* Impact - Güçlü display */
.impact {
font-family: Impact, 'Arial Black', sans-serif;
font-size: 2rem;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #2c3e50;
}
/* Comic Sans - Casual display */
.comic-sans {
font-family: 'Comic Sans MS', cursive, sans-serif;
font-size: 1.5rem;
color: #2c3e50;
}
/* Papyrus - Dekoratif display */
.papyrus {
font-family: Papyrus, fantasy;
font-size: 1.5rem;
color: #2c3e50;
}
}
/* Display font kullanım alanları */
.display-usage {
/* Poster başlıkları için */
.poster-title {
font-family: Impact, 'Arial Black', sans-serif;
font-size: 4rem;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.2em;
text-shadow: 3px 3px 0px rgba(0,0,0,0.5);
color: #e74c3c;
}
/* Logo tasarımı için */
.logo-text {
font-family: 'Arial Black', sans-serif;
font-size: 2rem;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #2c3e50;
}
/* Özel etkinlikler için */
.event-title {
font-family: 'Brush Script MT', cursive;
font-size: 2.5rem;
color: #8e44ad;
}
}
4. Script Fontlar
Script fontlar, el yazısını taklit eden dekoratif fontlardır.
/* Script font örnekleri */
.script-fonts {
/* Brush Script MT - Klasik script */
.brush-script {
font-family: 'Brush Script MT', cursive;
font-size: 1.5rem;
color: #2c3e50;
}
/* Lucida Handwriting - Modern script */
.lucida-handwriting {
font-family: 'Lucida Handwriting', cursive;
font-size: 1.5rem;
color: #2c3e50;
}
/* Segoe Script - Windows script */
.segoe-script {
font-family: 'Segoe Script', cursive;
font-size: 1.5rem;
color: #2c3e50;
}
}
/* Script font kullanım alanları */
.script-usage {
/* Kişisel notlar için */
.personal-note {
font-family: 'Brush Script MT', cursive;
font-size: 1.25rem;
color: #8e44ad;
font-style: italic;
}
/* Dekoratif başlıklar için */
.decorative-heading {
font-family: 'Lucida Handwriting', cursive;
font-size: 2rem;
color: #e67e22;
}
/* Özel davetiyeler için */
.invitation-text {
font-family: 'Segoe Script', cursive;
font-size: 1.5rem;
color: #27ae60;
}
}
5. Monospace Fontlar
Monospace fontlar, her karakterin aynı genişlikte olduğu fontlardır.
/* Monospace font örnekleri */
.monospace-fonts {
/* Courier New - Klasik monospace */
.courier-new {
font-family: 'Courier New', Courier, monospace;
font-size: 1rem;
line-height: 1.6;
color: #2c3e50;
}
/* Consolas - Modern monospace */
.consolas {
font-family: Consolas, 'Courier New', monospace;
font-size: 1rem;
line-height: 1.6;
color: #2c3e50;
}
/* Monaco - Apple monospace */
.monaco {
font-family: Monaco, 'Courier New', monospace;
font-size: 1rem;
line-height: 1.6;
color: #2c3e50;
}
}
/* Monospace kullanım alanları */
.monospace-usage {
/* Kod yazımı için */
.code-text {
font-family: 'Courier New', monospace;
font-size: 0.875rem;
line-height: 1.5;
background: #f8f9fa;
padding: 1rem;
border-radius: 5px;
color: #2c3e50;
}
/* Tablo verileri için */
.table-data {
font-family: Consolas, monospace;
font-size: 0.875rem;
color: #2c3e50;
}
/* Terminal çıktıları için */
.terminal-output {
font-family: Monaco, monospace;
font-size: 0.875rem;
background: #2c3e50;
color: #ecf0f1;
padding: 1rem;
border-radius: 5px;
}
}
Tipografi Hiyerarşisi
1. Başlık Hiyerarşisi
/* Başlık hiyerarşisi */
.typography-hierarchy {
/* H1 - Ana başlık */
h1 {
font-family: 'Times New Roman', serif;
font-size: 3rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1.5rem;
color: #2c3e50;
text-align: center;
}
/* H2 - Alt başlık */
h2 {
font-family: 'Times New Roman', serif;
font-size: 2.25rem;
font-weight: 600;
line-height: 1.3;
margin-bottom: 1.25rem;
color: #34495e;
border-bottom: 2px solid #3498db;
padding-bottom: 0.5rem;
}
/* H3 - Bölüm başlığı */
h3 {
font-family: 'Times New Roman', serif;
font-size: 1.875rem;
font-weight: 600;
line-height: 1.4;
margin-bottom: 1rem;
color: #2c3e50;
}
/* H4 - Alt bölüm */
h4 {
font-family: 'Times New Roman', serif;
font-size: 1.5rem;
font-weight: 500;
line-height: 1.5;
margin-bottom: 0.75rem;
color: #7f8c8d;
}
/* H5 - Küçük başlık */
h5 {
font-family: 'Times New Roman', serif;
font-size: 1.25rem;
font-weight: 500;
line-height: 1.6;
margin-bottom: 0.5rem;
color: #95a5a6;
}
/* H6 - En küçük başlık */
h6 {
font-family: 'Times New Roman', serif;
font-size: 1rem;
font-weight: 500;
line-height: 1.6;
margin-bottom: 0.5rem;
color: #bdc3c7;
text-transform: uppercase;
letter-spacing: 0.1em;
}
}
2. Metin Hiyerarşisi
/* Metin hiyerarşisi */
.text-hierarchy {
/* Ana metin */
.body-text {
font-family: Georgia, serif;
font-size: 1.125rem;
line-height: 1.7;
color: #2c3e50;
margin-bottom: 1.5rem;
max-width: 65ch;
}
/* Alt metin */
.sub-text {
font-family: Georgia, serif;
font-size: 1rem;
line-height: 1.6;
color: #7f8c8d;
margin-bottom: 1rem;
}
/* Küçük metin */
.small-text {
font-family: Georgia, serif;
font-size: 0.875rem;
line-height: 1.5;
color: #95a5a6;
margin-bottom: 0.75rem;
}
/* Açıklama metni */
.caption-text {
font-family: Georgia, serif;
font-size: 0.75rem;
line-height: 1.4;
color: #bdc3c7;
font-style: italic;
margin-bottom: 0.5rem;
}
}
3. Responsive Tipografi
/* Responsive tipografi */
.responsive-typography {
/* Mobil için */
@media (max-width: 768px) {
h1 {
font-size: 2rem;
line-height: 1.3;
}
h2 {
font-size: 1.75rem;
line-height: 1.4;
}
h3 {
font-size: 1.5rem;
line-height: 1.5;
}
.body-text {
font-size: 1rem;
line-height: 1.6;
}
}
/* Tablet için */
@media (min-width: 769px) and (max-width: 1024px) {
h1 {
font-size: 2.5rem;
line-height: 1.25;
}
h2 {
font-size: 2rem;
line-height: 1.35;
}
h3 {
font-size: 1.75rem;
line-height: 1.45;
}
.body-text {
font-size: 1.0625rem;
line-height: 1.65;
}
}
/* Desktop için */
@media (min-width: 1025px) {
h1 {
font-size: 3rem;
line-height: 1.2;
}
h2 {
font-size: 2.25rem;
line-height: 1.3;
}
h3 {
font-size: 1.875rem;
line-height: 1.4;
}
.body-text {
font-size: 1.125rem;
line-height: 1.7;
}
}
}
Tipografi Prensipleri
1. Okunabilirlik
/* Okunabilirlik optimizasyonu */
.readability {
/* Satır uzunluğu */
.optimal-line-length {
max-width: 65ch; /* 65 karakter */
line-height: 1.6;
margin: 0 auto;
}
/* Satır aralığı */
.line-spacing {
line-height: 1.6; /* 1.5-1.8 arası optimal */
}
/* Harf aralığı */
.letter-spacing {
letter-spacing: 0.01em; /* Hafif harf aralığı */
}
/* Kelime aralığı */
.word-spacing {
word-spacing: 0.05em; /* Hafif kelime aralığı */
}
/* Kontrast */
.text-contrast {
color: #2c3e50; /* Koyu metin */
background: #ffffff; /* Açık arka plan */
}
/* Font boyutu */
.readable-size {
font-size: 1rem; /* Minimum 16px */
line-height: 1.6;
}
}
2. Hizalama
/* Metin hizalama */
.text-alignment {
/* Sol hizalama */
.text-left {
text-align: left;
/* Uzun metinler için ideal */
}
/* Orta hizalama */
.text-center {
text-align: center;
/* Başlıklar ve kısa metinler için */
}
/* Sağ hizalama */
.text-right {
text-align: right;
/* Özel durumlar için */
}
/* İki yana hizalama */
.text-justify {
text-align: justify;
/* Gazete ve dergi metinleri için */
}
}
3. Vurgu ve Kontrast
/* Vurgu teknikleri */
.emphasis-techniques {
/* Kalın yazı */
.bold-text {
font-weight: 700;
color: #2c3e50;
}
/* İtalik yazı */
.italic-text {
font-style: italic;
color: #7f8c8d;
}
/* Altı çizili */
.underlined-text {
text-decoration: underline;
color: #3498db;
}
/* Büyük harfler */
.uppercase-text {
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: 600;
}
/* Renk vurgusu */
.color-emphasis {
color: #e74c3c;
font-weight: 600;
}
/* Arka plan vurgusu */
.background-emphasis {
background: #f39c12;
color: white;
padding: 0.25rem 0.5rem;
border-radius: 3px;
}
}
Modern Tipografi Trendleri
1. Variable Fonts
/* Variable fonts */
.variable-fonts {
/* Inter variable font */
@font-face {
font-family: 'Inter';
src: url('Inter-VariableFont_slnt,wght.ttf') format('truetype-variations');
font-weight: 100 900;
font-style: normal;
}
.inter-variable {
font-family: 'Inter', sans-serif;
font-weight: 400; /* 100-900 arası */
font-variation-settings: 'slnt' 0deg; /* -10 to 0 */
}
/* Roboto variable font */
@font-face {
font-family: 'Roboto';
src: url('Roboto-VariableFont_wght.ttf') format('truetype-variations');
font-weight: 100 900;
}
.roboto-variable {
font-family: 'Roboto', sans-serif;
font-weight: 300; /* Light */
}
}
2. Custom Properties ile Tipografi
/* CSS Custom Properties ile tipografi */
.typography-system {
:root {
/* Font aileleri */
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
--font-secondary: 'Georgia', serif;
--font-mono: 'Fira Code', 'Courier New', monospace;
/* Font boyutları */
--text-xs: 0.75rem; /* 12px */
--text-sm: 0.875rem; /* 14px */
--text-base: 1rem; /* 16px */
--text-lg: 1.125rem; /* 18px */
--text-xl: 1.25rem; /* 20px */
--text-2xl: 1.5rem; /* 24px */
--text-3xl: 1.875rem; /* 30px */
--text-4xl: 2.25rem; /* 36px */
--text-5xl: 3rem; /* 48px */
/* Satır yükseklikleri */
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
--leading-loose: 2;
/* Font ağırlıkları */
--font-light: 300;
--font-normal: 400;
--font-medium: 500;
--font-semibold: 600;
--font-bold: 700;
--font-extrabold: 800;
--font-black: 900;
}
.typography-heading {
font-family: var(--font-primary);
font-size: var(--text-4xl);
font-weight: var(--font-bold);
line-height: var(--leading-tight);
color: #2c3e50;
}
.typography-body {
font-family: var(--font-secondary);
font-size: var(--text-base);
font-weight: var(--font-normal);
line-height: var(--leading-relaxed);
color: #2c3e50;
}
.typography-code {
font-family: var(--font-mono);
font-size: var(--text-sm);
font-weight: var(--font-normal);
line-height: var(--leading-normal);
color: #2c3e50;
}
}
3. Modern Font Kombinasyonları
/* Modern font kombinasyonları */
.modern-font-pairs {
/* Serif + Sans-serif */
.serif-sans-pair {
--heading-font: 'Playfair Display', serif;
--body-font: 'Inter', sans-serif;
}
.serif-heading {
font-family: var(--heading-font);
font-size: 2.5rem;
font-weight: 700;
line-height: 1.2;
color: #2c3e50;
}
.sans-body {
font-family: var(--body-font);
font-size: 1.125rem;
line-height: 1.7;
color: #2c3e50;
}
/* Display + Sans-serif */
.display-sans-pair {
--display-font: 'Bebas Neue', sans-serif;
--body-font: 'Open Sans', sans-serif;
}
.display-heading {
font-family: var(--display-font);
font-size: 3rem;
font-weight: 400;
letter-spacing: 0.1em;
color: #e74c3c;
}
.sans-body-alt {
font-family: var(--body-font);
font-size: 1rem;
line-height: 1.6;
color: #2c3e50;
}
}
Web Font Optimizasyonu
1. Font Loading Stratejileri
/* Font loading optimizasyonu */
.font-optimization {
/* Preload kritik fontlar */
@font-face {
font-family: 'Inter';
src: url('Inter-Regular.woff2') format('woff2');
font-display: swap; /* Font yüklenene kadar sistem fontu kullan */
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Inter';
src: url('Inter-Bold.woff2') format('woff2');
font-display: swap;
font-weight: 700;
font-style: normal;
}
/* Fallback font stack */
.optimized-font {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-display: swap;
}
/* Font subsetting */
.subset-font {
font-family: 'Inter', sans-serif;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}
2. Font Performance
// Font loading performansı
class FontLoader {
constructor() {
this.fonts = new Map();
this.loadingPromises = new Map();
}
// Font yükleme
async loadFont(fontFamily, fontUrl, options = {}) {
if (this.fonts.has(fontFamily)) {
return this.fonts.get(fontFamily);
}
const loadingPromise = new Promise((resolve, reject) => {
const link = document.createElement('link');
link.href = fontUrl;
link.rel = 'stylesheet';
link.onload = () => {
this.fonts.set(fontFamily, true);
resolve(fontFamily);
};
link.onerror = () => reject(new Error(`Font yüklenemedi: ${fontFamily}`));
document.head.appendChild(link);
});
this.loadingPromises.set(fontFamily, loadingPromise);
return loadingPromise;
}
// Font hazır olma kontrolü
async waitForFont(fontFamily) {
return document.fonts.ready.then(() => {
return document.fonts.check(`12px "${fontFamily}"`);
});
}
// Font yükleme durumu
getFontStatus(fontFamily) {
return {
loaded: this.fonts.has(fontFamily),
loading: this.loadingPromises.has(fontFamily),
ready: document.fonts.check(`12px "${fontFamily}"`)
};
}
// Preload kritik fontlar
preloadCriticalFonts() {
const criticalFonts = [
{ family: 'Inter', url: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap' },
{ family: 'Georgia', url: 'https://fonts.googleapis.com/css2?family=Georgia:ital,wght@0,400;1,400&display=swap' }
];
criticalFonts.forEach(font => {
this.loadFont(font.family, font.url);
});
}
}
// Kullanım
const fontLoader = new FontLoader();
fontLoader.preloadCriticalFonts();
Tipografi Testleri
1. Okunabilirlik Testi
// Okunabilirlik testi
class ReadabilityTester {
constructor() {
this.testTexts = [
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
'The quick brown fox jumps over the lazy dog.',
'Pack my box with five dozen liquor jugs.',
'How vexingly quick daft zebras jump!'
];
}
// Flesch Reading Ease hesaplama
calculateFleschReadingEase(text) {
const sentences = text.split(/[.!?]+/).length;
const words = text.split(/\s+/).length;
const syllables = this.countSyllables(text);
const score = 206.835 - (1.015 * (words / sentences)) - (84.6 * (syllables / words));
return Math.max(0, Math.min(100, score));
}
// Hece sayısı hesaplama
countSyllables(text) {
const words = text.toLowerCase().split(/\s+/);
let syllableCount = 0;
words.forEach(word => {
syllableCount += this.countWordSyllables(word);
});
return syllableCount;
}
// Kelime hece sayısı
countWordSyllables(word) {
word = word.replace(/[^a-z]/g, '');
if (word.length <= 3) return 1;
word = word.replace(/(?:[^laeiouy]es|ed|[^laeiouy]e)$/, '');
word = word.replace(/^y/, '');
const syllables = word.match(/[aeiouy]{1,2}/g);
return syllables ? syllables.length : 1;
}
// Okunabilirlik raporu
generateReadabilityReport(text) {
const fleschScore = this.calculateFleschReadingEase(text);
let level = '';
if (fleschScore >= 90) level = 'Çok Kolay';
else if (fleschScore >= 80) level = 'Kolay';
else if (fleschScore >= 70) level = 'Oldukça Kolay';
else if (fleschScore >= 60) level = 'Orta';
else if (fleschScore >= 50) level = 'Oldukça Zor';
else if (fleschScore >= 30) level = 'Zor';
else level = 'Çok Zor';
return {
score: fleschScore,
level: level,
sentences: text.split(/[.!?]+/).length,
words: text.split(/\s+/).length,
syllables: this.countSyllables(text)
};
}
// Test metinleri ile rapor
testAllTexts() {
return this.testTexts.map(text => ({
text: text,
report: this.generateReadabilityReport(text)
}));
}
}
// Kullanım
const tester = new ReadabilityTester();
const reports = tester.testAllTexts();
console.log('Okunabilirlik raporları:', reports);
2. Font Rendering Testi
// Font rendering testi
class FontRenderingTester {
constructor() {
this.testCanvas = document.createElement('canvas');
this.testContext = this.testCanvas.getContext('2d');
this.testCanvas.width = 200;
this.testCanvas.height = 50;
}
// Font render kalitesi testi
testFontRendering(fontFamily, fontSize = 16) {
this.testContext.font = `${fontSize}px "${fontFamily}"`;
this.testContext.fillStyle = '#000';
this.testContext.fillText('Test Text', 10, 30);
const imageData = this.testContext.getImageData(0, 0, this.testCanvas.width, this.testCanvas.height);
const pixels = imageData.data;
let edgePixels = 0;
let totalPixels = 0;
for (let i = 0; i < pixels.length; i += 4) {
if (pixels[i] > 0) { // Siyah pixel
totalPixels++;
// Kenar pixel kontrolü
const x = (i / 4) % this.testCanvas.width;
const y = Math.floor((i / 4) / this.testCanvas.width);
if (this.isEdgePixel(pixels, x, y, this.testCanvas.width, this.testCanvas.height)) {
edgePixels++;
}
}
}
const sharpness = edgePixels / totalPixels;
return {
fontFamily: fontFamily,
fontSize: fontSize,
sharpness: sharpness,
quality: sharpness > 0.1 ? 'Yüksek' : sharpness > 0.05 ? 'Orta' : 'Düşük'
};
}
// Kenar pixel kontrolü
isEdgePixel(pixels, x, y, width, height) {
const centerIndex = (y * width + x) * 4;
const centerAlpha = pixels[centerIndex + 3];
if (centerAlpha === 0) return false;
// Komşu pixel kontrolü
const neighbors = [
[x-1, y], [x+1, y], [x, y-1], [x, y+1]
];
for (const [nx, ny] of neighbors) {
if (nx >= 0 && nx < width && ny >= 0 && ny < height) {
const neighborIndex = (ny * width + nx) * 4;
const neighborAlpha = pixels[neighborIndex + 3];
if (neighborAlpha === 0) return true;
}
}
return false;
}
// Çoklu font testi
testMultipleFonts(fonts) {
return fonts.map(font => this.testFontRendering(font.family, font.size));
}
}
// Kullanım
const renderTester = new FontRenderingTester();
const fonts = [
{ family: 'Arial', size: 16 },
{ family: 'Times New Roman', size: 16 },
{ family: 'Georgia', size: 16 },
{ family: 'Verdana', size: 16 }
];
const renderingResults = renderTester.testMultipleFonts(fonts);
console.log('Font rendering sonuçları:', renderingResults);
Sonuç
Tipografi, tasarımın temel taşlarından biridir. Bu rehberde öğrendiğiniz prensipleri kullanarak, okunabilir ve estetik metin tasarımları oluşturabilirsiniz.
Önemli Noktalar:
- Font kategorilerini anlayın
- Tipografi hiyerarşisi oluşturun
- Okunabilirlik prensiplerini uygulayın
- Modern tipografi trendlerini takip edin
- Font performansını optimize edin
Bu rehberde öğrendiklerinizi pratik projelerde uygulayarak, tipografi becerilerinizi geliştirebilirsiniz.
İlgili Kaynaklar: