Saturday, December 27, 2008

ឈ្មោះអក្សរ នៅក្នុង Font Menu

---

ក្នុងកម្មវិធី QuarkXPress 8 ដែលប្រើអក្សរខ្មែរយូនីកូដបាន ពេលខ្លះ ឃើញឈ្មោះពុម្ពអក្សរខ្មែរ នៅក្នុង Font Menu ឥតច្បាស់ ។ ដើម្បីដោះស្រាយ ចូលទៅ Edit -> Preference ឬចុច Ctrl + Alt + Shift + Y លោកអ្នកនឹងឃើញ Dialog Box ខាងក្រោម ។

ដោះសញ្ញាថិច របស់ Show in Font Menu ។


ឈ្មោះអក្សរនឹងបង្ហាញច្បាស់នៅក្នុង Font Menu ។

Friday, December 26, 2008

ពុម្ពអក្សរខ្មែរយូនីកូដ - Khmer OpenType fonts in Photoshop CS3/4

ការប្រើប្រាស់ពុម្ពអក្សរយូនីកូដខ្មែរ នៅក្នុង Photoshop ឬ InDesign CS3 មានការខុសផ្លែកពី MS Office ខ្លះៗ គឺពេលខ្លះមិនចេញជើង និង ភ្ជាប់សក់ ដូចជា ក នឹង ស្រៈ ា បណ្ដាលមកពី OpenType features ត្រូវបានបិត ។ ដូច្នោះ ត្រូវតែបើកលក្ខណៈនេះវិញ សូមមើលរូបខាងក្រោម ។

Monday, December 22, 2008

Function SaveFile in Visual C++ 2008

void DoFileSave(HWND hwnd)
{
OPENFILENAME ofn;
wchar_t szFileName[MAX_PATH] = _T("");

ZeroMemory(&ofn, sizeof(ofn));

ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd;
ofn.lpstrFilter = _T("Text Files (*.txt)\0*.txt\0All Files (*.*)\0*.*\0");
ofn.lpstrFile = szFileName;
ofn.nMaxFile = MAX_PATH;
ofn.lpstrDefExt = _T("txt");
ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;

if(GetSaveFileName(&ofn))
{
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
if(SaveTextFileFromEdit(hEdit, szFileName))
{
SendDlgItemMessage(hwnd, IDC_MAIN_STATUS, SB_SETTEXT, 0, (LPARAM)_T("Saved..."));
SendDlgItemMessage(hwnd, IDC_MAIN_STATUS, SB_SETTEXT, 1, (LPARAM)szFileName);
}
}
}

Function OpenFile in Visual C++ 2008


void DoFileOpen(HWND hwnd)
{
OPENFILENAME ofn;
wchar_t szFileName[MAX_PATH] = _T("");

ZeroMemory(&ofn, sizeof(ofn));

ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd;
ofn.lpstrFilter = _T("Text Files (*.txt)\0*.txt\0All Files (*.*)\0*.*\0");
ofn.lpstrFile = szFileName;
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
ofn.lpstrDefExt = _T("txt");

if(GetOpenFileName(&ofn))
{
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
if(LoadTextFileToEdit(hEdit, szFileName))
{
SendDlgItemMessage(hwnd, IDC_MAIN_STATUS, SB_SETTEXT, 0, (LPARAM)"Opened...");
SendDlgItemMessage(hwnd, IDC_MAIN_STATUS, SB_SETTEXT, 1, (LPARAM)szFileName);
}
}
}

Saturday, December 20, 2008

Type design

Type design is the art of designing typefaces. Although the technology of printing text using movable type was invented in China, and despite the esteem which calligraphy held in that civilization, the vast number of Chinese characters meant that few distinctive, complete fonts could be afforded by Chinese printers. The applied art of designing pieces of type thus became primarily a Western practice whose market increased with the coming of mass advertisement and steam-powered printing in the nineteenth century. With the advent of desktop publishing (and internet web pages, which use different technologies), the marketplace has demanded ever more varied typefaces merely for the purposes of variety to get the customers' attention. Finally, the ease of this new technology has resulted in the hobby or money-saving option of amateur type design.