GESSTwo
جي إس تو
إعدادات الخط
معاينة الخط
الحمد لله رب العالمين
نصوص تجريبية
الحمد لله رب العالمين
أبجد هوز حطي كلمن سعفص قرشت ثخذ ضظغ
طباعة النص العربي
مرحبا بكم في عالم الخطوط العربية
هذا نص تجريبي لعرض الخط
النص العربي الجميل
تطوير وتصميم المواقع
الخط العربي فن وإبداع
التصميم الجرافيكي الحديث
خطوط عربية مميزة وجميلة
أشكال الخط المتاحة
الحمد لله رب العالمين
خفيف
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-weight: 300;
font-style: normal;الحمد لله رب العالمين
متوسط
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-weight: 500;
font-style: normal;الحمد لله رب العالمين
عريض
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-weight: 700;
font-style: normal;عينات الخط
أحجام مختلفة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
مرحباً بكم في عالم الخطوط العربية الجميلة
أنواع النصوص
العناوين
الذكاء الاصطناعي يغير العالم
النص الأساسي
تشهد التكنولوجيا الحديثة تطوراً سريعاً في مجال الذكاء الاصطناعي، حيث تساهم هذه التقنيات في تحسين حياتنا اليومية وتوفير حلول مبتكرة للتحديات المعاصرة. من المتوقع أن تستمر هذه الثورة التقنية في تشكيل مستقبل البشرية نحو الأفضل.
النص الصغير
هذا نص توضيحي صغير يُستخدم عادة في التفاصيل والملاحظات والتوضيحات الإضافية في التصميم.
الأرقام والتواريخ
٢٠٢٤/١٢/١٥ • ١٢:٣٠ ص • 2024/12/15 • 12:30 PM
مجموعة الحروف
الحروف العربية
أ ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن ه و ي
الحروف المتصلة
قُلْ هُوَ ٱللَّهُ أَحَدٌ ١ ٱللَّهُ ٱلصَّمَدُ ٢ لَمْ يَلِدْ وَلَمْ يُولَدْ ٣ وَلَمْ يَكُن لَّهُۥ كُفُوًا أَحَدٌۢ ٤
الأرقام
١٢٣٤٥٦٧٨٩٠ • 1234567890
علامات الترقيم
، . ؛ : ؟ ! " " ' ' ( ) [ ] - – — • …
كود CSS
CSS للخط الخاص - يمكن نسخه واستخدامه مباشرة
/* تعريف الخط الخاص */
@font-face {
font-family: 'GESSTwo';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/light/GESSTwo-Light.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/light/GESSTwo-Light.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/light/GESSTwo-Light.otf') format('truetype');
}
@font-face {
font-family: 'GESSTwo';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/medium/GESSTwo-Medium.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/medium/GESSTwo-Medium.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/medium/GESSTwo-Medium.otf') format('truetype');
}
@font-face {
font-family: 'GESSTwo';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/bold/GESSTwo-Bold.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/bold/GESSTwo-Bold.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/bold/GESSTwo-Bold.otf') format('truetype');
}
/* استخدام الخط */
.arabic-text {
font-family: ''GESSTwo', sans-serif', 'Noto Sans Arabic', Arial, sans-serif;
font-size: 40px;
font-weight: 400;
font-style: normal;
letter-spacing: 0px;
color: #000000;
line-height: 1.5;
direction: rtl;
text-align: right;
}خيارات التحميل
رابط الخط الخاص (HTML)
استخدم هذا الرابط في HTML
HTML Link
<link href="https://arfonts.pages.dev/css?family=gesstwo:300,500,700" rel="stylesheet">رابط CSS Import
استخدم هذا في CSS
CSS Import
@import url('https://arfonts.pages.dev/css?family=gesstwo:300,500,700');ملفات الخط المباشرة
روابط مباشرة لملفات الخط
CSS كامل للخط
كود CSS كامل مع جميع @font-face
CSS Code
@font-face {
font-family: 'GESSTwo';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/light/GESSTwo-Light.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/light/GESSTwo-Light.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/light/GESSTwo-Light.otf') format('truetype');
}
@font-face {
font-family: 'GESSTwo';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/medium/GESSTwo-Medium.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/medium/GESSTwo-Medium.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/medium/GESSTwo-Medium.otf') format('truetype');
}
@font-face {
font-family: 'GESSTwo';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/bold/GESSTwo-Bold.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/bold/GESSTwo-Bold.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/qlbaz/fonts@main/gesstwo/bold/GESSTwo-Bold.otf') format('truetype');
}أمثلة متقدمة للاستخدام
تعلم كيفية استخدام خط GESSTwo بطرق متقدمة مع أمثلة كاملة للـ HTML وCSS وJavaScript
مثال HTML كامل
مثال كامل لاستخدام خط GESSTwo
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>مثال على استخدام خط GESSTwo</title>
<!-- طريقة 1: استخدام link tag -->
<link href="https://arfonts.pages.dev/css?family=gesstwo:300,500,700" rel="stylesheet">
<!-- أو طريقة 2: استخدام CSS import في style tag -->
<style>
@import url('https://arfonts.pages.dev/css?family=gesstwo:300,500,700');
.custom-font {
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-size: 24px;
line-height: 1.6;
direction: rtl;
text-align: right;
}
.title {
font-weight: 700;
font-size: 32px;
margin-bottom: 20px;
}
.content {
font-weight: 400;
color: #333;
}
</style>
</head>
<body>
<div class="container">
<h1 class="custom-font title">مرحباً بكم في عالم الخطوط العربية</h1>
<p class="custom-font content">
هذا مثال على استخدام خط GESSTwo في صفحة ويب.
يمكنكم استخدام هذا الخط في مشاريعكم بكل سهولة.
</p>
</div>
</body>
</html>استخدام CSS
أمثلة CSS متقدمة
/* استيراد خط GESSTwo */
@import url('https://arfonts.pages.dev/css?family=gesstwo:300,500,700');
/* أو استخدام link في HTML */
/* <link href="https://arfonts.pages.dev/css?family=gesstwo:300,500,700" rel="stylesheet"> */
/* استخدام الخط في CSS */
.arabic-text {
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-size: 18px;
font-weight: 400;
line-height: 1.6;
direction: rtl;
text-align: right;
}
/* العناوين */
.heading {
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-weight: 700;
font-size: 28px;
line-height: 1.3;
margin-bottom: 16px;
}
/* النصوص الصغيرة */
.small-text {
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
font-weight: 400;
font-size: 14px;
color: #666;
}
/* تطبيق مع CSS Grid أو Flexbox */
.grid-layout {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
font-family: 'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif;
}JavaScript متقدم
تحميل ديناميكي للخط
// JavaScript لتحميل الخط ديناميكياً
function loadCustomFont() {
// إنشاء link element
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'https://arfonts.pages.dev/css?family=gesstwo:300,500,700';
// إضافة الـ link للـ head
document.head.appendChild(link);
// التأكد من تحميل الخط قبل الاستخدام
link.onload = function() {
console.log('تم تحميل خط GESSTwo بنجاح');
// تطبيق الخط على العناصر
applyFontToElements();
};
}
function applyFontToElements() {
// البحث عن العناصر المطلوب تغيير خطها
const elements = document.querySelectorAll('.arabic-text');
elements.forEach(element => {
element.style.fontFamily = "'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif";
});
}
// تحميل الخط عند تحميل الصفحة
document.addEventListener('DOMContentLoaded', loadCustomFont);
// أو استخدام Web Font Loader
WebFont.load({
custom: {
families: ['GESSTwo'],
urls: ['https://arfonts.pages.dev/css?family=gesstwo:300,500,700']
},
active: function() {
console.log('GESSTwo font is active');
},
inactive: function() {
console.log('GESSTwo font failed to load');
}
});مثال React
استخدام في React
// React Component Example
import React from 'react';
import './CustomFont.css'; // ملف CSS يحتوي على @import
const ArabicTextComponent = () => {
const fontStyle = {
fontFamily: "'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif",
fontSize: '18px',
lineHeight: '1.6',
direction: 'rtl',
textAlign: 'right'
};
return (
<div className="arabic-content">
<h1 style={{...fontStyle, fontSize: '32px', fontWeight: '700'}}>
العنوان الرئيسي
</h1>
<p style={fontStyle}>
هذا مثال على استخدام خط GESSTwo في تطبيق React.
يمكنكم استخدام هذا الخط بسهولة في مكوناتكم.
</p>
</div>
);
};
export default ArabicTextComponent;
/* CustomFont.css */
@import url('https://arfonts.pages.dev/css?family=gesstwo:300,500,700');مثال Vue.js
استخدام في Vue.js
<!-- Vue.js Component Example -->
<template>
<div class="arabic-content">
<h1 :style="titleStyle">العنوان الرئيسي</h1>
<p :style="textStyle">
هذا مثال على استخدام خط GESSTwo في تطبيق Vue.js
</p>
</div>
</template>
<script>
export default {
name: 'ArabicTextComponent',
data() {
return {
titleStyle: {
fontFamily: "'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif",
fontSize: '32px',
fontWeight: '700',
direction: 'rtl',
textAlign: 'right'
},
textStyle: {
fontFamily: "'GESSTwo', 'Noto Sans Arabic', Arial, sans-serif",
fontSize: '18px',
lineHeight: '1.6',
direction: 'rtl',
textAlign: 'right'
}
}
}
}
</script>
<style>
@import url('https://arfonts.pages.dev/css?family=gesstwo:300,500,700');
</style>معاينة مباشرة
مثال مباشر لخط GESSTwo
هذا نص تجريبي يوضح كيف يبدو الخط في الاستخدام الفعلي.
يمكنكم استخدام هذا الخط في مشاريعكم بنسخ الكود أعلاه.
نصائح للتكامل
- • استخدم
font-display: swapلتحسين الأداء -
• ضع خط احتياطي مثل
'Noto Sans Arabic'في حالة فشل التحميل -
• استخدم
preloadللخطوط المهمة:<link rel="preload" href="https://arfonts.pages.dev/css?family=gesstwo:300,500,700" as="style"> - • اختبر الخط على أجهزة مختلفة للتأكد من التوافق
- • استخدم أوزان مختلفة للخط لتحسين التسلسل الهرمي البصري