FontLab Forum
2012-02-09, 04:49:29 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: How to implement Unicode Variation Selector using FDK 2.5 in Chinese  (Read 4365 times)
lxq2002
Full Member
***

Karma: +0/-0
China China

Posts: 2


Email
« on: 2009-11-08, 22:40:08 »

I want to make a specific Chinese OpenType font that Unicode Variation Selector is used. I use beforetime the MS VOLT tool to implement. But the Volt has not hold out the  Unicode Variation Selector. So, I know the Adobe FDK can implement my need.  When I use FDK tool, "MakeOTFv2.5 OpenType/CFF conpiler User Guide" tell me that platform code, script code and language code can be set in "FontMenuNameDB" file. But, I don't know where the  Encoding ID and Format can be set.
I need help!
Thank you!
« Last Edit: 2009-11-09, 12:08:28 by Alex Petrov (FontLab) » Logged
Read Roberts (Adobe)
Moderator
Hero Member
*****

Karma: +6/-0
United States United States

Posts: 27

Fontlab Studio 5.0.4, built 2741, Mac OX 10.5


Email
« Reply #1 on: 2009-11-09, 02:09:48 »

I think that your question is about how to set font menu name for languages other than English. You should look at the document "MakeOTFUserGuide.pdf", page 6 and read all of the section on the FontMenuNameDB.  This document is  in the AFDKO at:
  "FDK/Technical  Documentation/MakeOTFUserGuide.pdf"

There is an example for 'Kozuka Mincho Pro' at the bottom of page 9, where it  shows how to set a name in Japanese. The only challenging part is to find the right language code to use for Windows, and the right script and language code to use for the Mac names. The Windows language codes, and the Mac script and language codes, can all be found in the OpenType specification for the name table:
http://www.microsoft.com/typography/otspec/name.htm

Example codes for a Chinese name string are:

# Windows, Unicode, Chinese People Republic
f=3,1,0x0804,\5c0f\585a\660e\671d

# Mac Simplified Chinese, language Simplified Chinese
f=1,25,33,\8f\ac\92\cb\96\be\92\a9  Mac, script

Note that the Windows language values are given in the spec as hexadecimal values; on the FontMenuNameDB, hexadecimal values must have the prefix "0x".

- Read Roberts
Logged
Tags: Unicode Variation Selector  opentype 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!