หน้า: [1]
 
ผู้เขียน หัวข้อ: พี่ๆครับเรามารวม สคริป Open type  (อ่าน 3942 ครั้ง)
0 สมาชิก และ 1 ขาจร กำลังดูหัวข้อนี้
พี่ๆครับเรามารวม สคริป ของ Open type กันดูมั้ยครับ ว่า ตัวไหนใช้กับอะไร? ใช้ยังไง? เขียนยังไง?
หรือพี่ๆในนี้ได้รวบรวมไว้แล้วถ้าไงรบกวน ชี้แนะน้องใหม่อย่างผมด้วยนะครับ ขอบคุณครับ
บันทึกการเข้า
กฎการเขียน OpenType ไม่ตายตัวครับ  ฮิ้ววว
บันทึกการเข้า
อย่างที่พี่เร่บอกละครับ ส่วนใหญ่จะเขียนไม่เหมือนกัน แล้วแต่ไอเดีย  ฮือๆ~

Feature Tags

ลองอ่าน ๆ ดูครับ จริง ๆ มันเยอะมาก  (เหงื่อแตกพลั่ก)
บันทึกการเข้า

NP Freedom
i am a slow walker, but i never walk backwards.
Abraham lincoln
ที่ว่าไม่ตายตัวนี่หมายถึงชื่อ Glyph น่ะครับ  ฮิ้ววว
แต่ก็เขียนไม่เหมือนกันอยู่ดี  ฮิ้ววว

ลองอ่านตามลิงก์ที่ลุงพลเอามาให้สิครับ
ฮิ้ววว
บันทึกการเข้า
ที่ผมยังสนใจอยู่คือตัวนี้ครับ

The 'aalt' lookups from the above example will be registered under the default language systems of the 'latn' and 'cyrl' scripts, and also under the 'latn'/'TRK ' language systems. The 'aalt' created would be the same as if the font editor had specified:

feature aalt {
sub a from [a.alt1 a.alt2 a.alt3 Asmall];
sub b from [b.alt Bsmall];
sub c from [c.mid Csmall];
sub d from [d.alt d.mid];
sub e by e.mid;
} aalt;

---------------------------------------

Tag: 'aalt'

Friendly name: Access All Alternates

Registered by: Adobe

Function:
This feature makes all variations of a selected character accessible. This serves several purposes: An application may not support the feature by which the desired glyph would normally be accessed; the user may need a glyph outside the context supported by the normal substitution, or the user may not know what feature produces the desired glyph. Since many-to-one substitutions are not covered, ligatures would not appear in this table unless they were variant forms of another ligature.

Example: A user inputs the P in Poetica, and is presented with a choice of the four standard capital forms, the eight swash capital forms, the initial capital form and the small capital form.

Recommended implementation: The aalt table groups glyphs into semantic units. These units include the glyph which represents the default form for the underlying Unicode value stored by the application. While many of these substitutions are one-to-one (GSUB lookup type 1), others require a selection from a set (GSUB lookup type 3). The manufacturer may choose to build two tables (one for each lookup type) or only one which uses lookup type 3 for all substitutions. As in any one-from-many substitution, alternates present in more than one face should be ordered consistently across a family, so that those alternates can work correctly when switching between family members. This feature should be ordered first in the font, to take precedence over other features.

Application interface: The application determines the GID for the default form of a given character (Unicode value with no features applied). It then checks to see whether the GID is found in the aalt coverage table. If so, the application passes this value to the feature table and gets back the GIDs in the associated group.

UI suggestion: While most one-from-many substitution features can be applied globally with reasonable results, aalt is not designed to support this use. The application should indicate to the user which glyphs in the user's document have alternative forms (i.e which are in the coverage table for aalt). When the user selects one of those glyphs and applies the aalt feature, an application could display the forms sequentially in context, or present a palette showing all the forms at once, or give the user a choice between these approaches. The application may assume that the first glyph in a set is the preferred form, so the font developer should order them accordingly. When only one alternate exists, this feature could toggle directly between the alternate and default forms.

Script/language sensitivity: None.

Feature interaction: This feature may be used in combination with other features.
บันทึกการเข้า

นักเขียนการ์ตูนรายปี
 มึนตึ้บ มึนตึ้บ มึนตึ้บ
บันทึกการเข้า

ที่สุดถ้ามันจะไม่คุ้ม
แต่มันก็ดีที่อย่างน้อยได้จดจำ
ว่าครั้งนึงเคยก้าวไป...
อ่านแล้วมันเลือกได้ แต่จะเลือกยังไงไม่รู้ครับ

เช่น  สร้าง ก ไก่ มา 3 แบบ พอกด ก. จะมีมาเใหืเลือกเอา (มันจะทำได้ไงหว่า) แต่อ่าน ๆ ดูแล้วมันได้นี่หน่า
บันทึกการเข้า

นักเขียนการ์ตูนรายปี
ขอบคุณพี่ทุกคนที่ช่วยตอบกันมานะครับ
ผมขอเสนอนิดนึงครับคือถ้าติดปัญหาตรงชื่อ  Glyph ก็ยังพอ งมๆชื่อและแทนค่าได้อยู่ ครับ

แต่ที่อยากให้พี่รวบรวมกันก็เหมือนตัวอย่างที่พี่Layiji ได้ตอบมาอ่ะ ครับเผื่อจะได้มีปะโยชน์กับเพื่อนคนอื่นบ้างอ่ะครับ และอีกอย่างคือผมอยากรู้จริงๆครับ แต่ผมไม่รู้จะไปหาที่ไหนแล้ว ยังไงรบกวนพี่ๆหน่อยนะครับ   (เหงื่อแตกพลั่ก)

ขอบคุณครับ
feature aalt {
sub a from [a.alt1 a.alt2 a.alt3 Asmall];
sub b from [b.alt Bsmall];
sub c from [c.mid Csmall];
sub d from [d.alt d.mid];
sub e by e.mid;
} aalt;
 ผลที่ได้คือ  สร้าง ก ไก่ มา 3 แบบ พอกด ก. จะมีมาเใหืเลือกเอา (มันจะทำได้ไงหว่า) แต่อ่าน ๆ ดูแล้วมันได้นี่หน่า
บันทึกการเข้า
หน้า: [1]
 
 
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines | Thai language by ThaiSMF Valid XHTML 1.0! Valid CSS!