请输入您要查询的百科知识:

 

词条 Halfwidth and fullwidth forms
释义

  1. Rationale

  2. In Unicode

     Block  History 

  3. In OpenType

  4. See also

  5. References

  6. External links

{{short description|Alternative width characters in East Asian typography}}

In CJK (Chinese, Japanese and Korean) computing, graphic characters are traditionally classed into fullwidth (in Taiwan and Hong Kong: 全形; in CJK: 全角) and halfwidth (in Taiwan and Hong Kong: 半形; in CJK: 半角) characters. With fixed-width fonts, a halfwidth character occupies half the width of a fullwidth character, hence the name.

Halfwidth and Fullwidth Forms is also the name of a Unicode block U+FF00–FFEF, provided so that older encodings containing both halfwidth and fullwidth characters can have lossless translation to/from Unicode.

Rationale

{{Unreferenced section|date=November 2018}}

In the days of text mode computing, Western characters were normally laid out in a grid on the screen, often 80 columns by 24 or 25 lines. Each character was displayed as a small dot matrix, often about 8 pixels wide, and a SBCS (single byte character set) was generally used to encode characters of western languages.

For a number of practical and aesthetic reasons Han characters need to be square, approximately twice as wide as these fixed-width SBCS characters. As these were typically encoded in a DBCS (double byte character set) this also meant that their length on screen in a duospaced font was proportional to their byte length. Some terminals and editing programs could not deal with double-byte characters starting at odd columns, only even ones (some could not even put double-byte and single-byte characters in the same line). So the DBCS sets generally included Roman characters and digits also, for use alongside the CJK characters in the same line.

On the other hand, early Japanese computing used a single-byte code page called JIS X 0201 for katakana. These would be rendered at the same width as the other single-byte characters, making them half-width kana characters rather than normally proportioned kana. Although the JIS X 0201 standard itself did not specify half-width display for katakana, this became the visually distinguishing feature in Shift JIS between the single-byte JIS X 0201 and double-byte JIS X 0208 katakana. Some IBM code pages used a similar treatment for Korean jamo, based on the N-byte Hangul code and its EBCDIC translation.

In Unicode

{{Infobox Unicode block
|blockname = Halfwidth and Fullwidth Forms
|rangestart = FF00
|rangeend = FFEF
|script1 = {{nowrap|Hangul (52 char.)}}
|script2 = {{nowrap|Katakana (55 char.)}}
|script3 = {{nowrap|Latin (52 char.)}}
|script4 = {{nowrap|Common (66 char.)}}
|symbols = Variant width characters
|1_0_0 = 216
|1_0_1 = 7
|3_2 = 2
|note = [1][2][3]
}}

In Unicode, if a certain grapheme can be represented as either a fullwidth character or a halfwidth character, it is said to have both a fullwidth form and a halfwidth form.

Halfwidth and Fullwidth Forms is the name of Unicode block U+FF00–FFEF, the last of the Basic Multilingual Plane excepting the short Specials block at U+FFF0–FFFF.

Range U+FF01–FF5E reproduces the characters of ASCII 21 to 7E as fullwidth forms. U+FF00 does not correspond to a fullwidth ASCII 20 (space character), since that role is already fulfilled by U+3000 "ideographic space".

Range U+FF65–FF9F encodes halfwidth forms of katakana in a transposition of their JIS X 0201 layout – see half-width kana.

The range U+FFA0–FFDC encodes halfwidth forms of compatibility jamo characters for Hangul, in a transposition of their 1974 standard layout. It is used in the mapping of some IBM encodings for Korean.[4]

Range U+FFE0–FFEE includes fullwidth and halfwidth symbols.

Block

{{Unicode chart Halfwidth and Fullwidth Forms}}

The block has variation sequences defined for East Asian punctuation positional variants.[5][6] They use {{sc2|U+FE00 VARIATION SELECTOR-1}} (VS01) and {{sc2|U+FE01 VARIATION SELECTOR-2}} (VS02):

Variation sequences for punctuation alignment
U+ FF01 FF0C FF0E FF1A FF1B FF1F Description
base code point
base + VS01 !︀ ,︀ .︀ :︀ ;︀ ?︀ corner-justified form
base + VS02 !︁ ,︁ .︁ :︁ ;︁ ?︁ centered form

An additional variant is defined for a fullwidth zero with a short diagonal stroke: U+FF10 FULLWIDTH DIGIT ZERO, U+FE00 VS1 (0︀).[7][6]

History

The following Unicode-related documents record the purpose and process of defining specific characters in the Halfwidth and Fullwidth Forms block:

Version Final code points Count L2 ID WG2 ID Document
1.0.0U+FF01..FF5E, FF61..FFBE, FFC2..FFC7, FFCA..FFCF, FFD2..FFD7, FFDA..FFDC, FFE0..FFE6216 (to be determined)
[https://www.unicode.org/L2/L2015/15268-slashed-zero.pdf L2/15-268]}}title=Proposal to Represent the Slashed Zero Variant of Empty Set|date=2015-10-30|first1=Barbara|last1=Beeton|first2=Asmus|last2=Freytag|first3=Laurențiu|last3=Iancu|first4=Murray|last4=Sargent}}
[https://www.unicode.org/L2/L2017/17056-sv-western-vs-eastasian.pdf L2/17-056]}}title=Proposal to add standardized variation sequences|date=2017-02-13|first=Ken|last=Lunde|authorlink=Ken Lunde}}
[https://www.unicode.org/L2/L2017/17436r-sv-eastsian-punct.pdf L2/17-436]}}title=Proposal to add standardized variation sequences for fullwidth East Asian punctuation|date=2018-01-21|first=Ken|last=Lunde}}
L2/18-039}}title=Recommendations to UTC #154 January 2018 on Script Proposals|date=2018-01-19|first1=Deborah|last1=Anderson|first2=Ken|last2=Whistler|first3=Roozbeh|last3=Pournader|first4=Lisa|last4=Moore|first5=Hai|last5=Liang|first6=Richard|last6=Cook|section=24. Fullwidth East Asian Punctuation}}
1.0.1 U+FFE8..FFEE 7 (to be determined)
3.2U+FF5F..FF602[https://www.unicode.org/L2/L1999/99052.htm L2/99-052]}}title=The math pieces from the symbol font|date=1999-02-05|first=Asmus|last=Freytag}}
[https://www.unicode.org/L2/L2001/01033-addbrackets.htm L2/01-033]}}title=Disunify braces/brackets for math, computing science, and Z notation from similar-looking CJK braces/brackets|date=2001-01-16|first1=Kent|last1=Karlsson|first2=Asmus|last2=Freytag}}
[https://www.unicode.org/L2/L2001/01159-N2344-MathAdHoc.pdf L2/01-159]}} [https://unicode.org/wg2/docs/n2344.pdf N2344] title=Ad-hoc report on Mathematical Symbols|date=2001-04-03}}
[https://www.unicode.org/L2/L2001/01157-N2345R-brackets.pdf L2/01-157]}} [https://unicode.org/wg2/docs/n2345r.pdf N2345R] title=Proposal to disunify certain fencing CJK punctuation marks from similar-looking Math fences|date=2001-04-04|first=Kent|last=Karlsson}}
[https://www.unicode.org/L2/L2001/01168-hell.txt L2/01-168]}}title=Bracket Disunification & Normalization Hell|date=2001-04-10|first=Ken|last=Whistler}}
[https://www.unicode.org/L2/L2001/01223.htm L2/01-223]}}title=Discussion of Issues Regarding Bracket Disunification|date=2001-05-23|first=Michel|last=Suignard}}
[https://www.unicode.org/L2/L2001/01317-bracket.htm L2/01-317]}}title=Bracket Disunification & Normalization|date=2001-08-14|first=Michel|last=Suignard}}
[https://unicode.org/consortium/utc-minutes/UTC-088-200108.html L2/01-295R]}}title=Minutes from the UTC/L2 meeting #88|date=2001-11-06|first=Lisa|last=Moore|section=Bracket Disunification and Normalization}}
1. ^{{cite web|url=https://www.unicode.org/versions/Unicode1.0.0/Notice.pdf|title=Unicode 1.0.1 Addendum|work=The Unicode Standard|date=1992-11-03|accessdate=2016-07-09|deadurl=no|archiveurl=https://web.archive.org/web/20160702004420/http://www.unicode.org/versions/Unicode1.0.0/Notice.pdf|archivedate=2016-07-02|df=}}
2. ^{{cite web|url=https://www.unicode.org|title=Unicode character database|work=The Unicode Standard|accessdate=2016-07-09|deadurl=no|archiveurl=https://web.archive.org/web/20160710080729/http://www.unicode.org/|archivedate=2016-07-10|df=}}
3. ^{{cite web|url=https://www.unicode.org/versions/enumeratedversions.html|title=Enumerated Versions of The Unicode Standard|work=The Unicode Standard|accessdate=2016-07-09|deadurl=no|archiveurl=https://web.archive.org/web/20160629001311/http://www.unicode.org/versions/enumeratedversions.html|archivedate=2016-06-29|df=}}
4. ^{{cite web|url=http://demo.icu-project.org/icu-bin/convexp?conv=ibm-933|title=ICU Demonstration - Converter Explorer|author=|date=|website=demo.icu-project.org|accessdate=7 May 2018}}
5. ^{{cite web|url=https://www.unicode.org/L2/L2017/17436r-sv-eastsian-punct.pdf|title=L2/17-436: Proposal to add standardized variation sequences for fullwidth East Asian punctuation|date=2018-01-21|first=Ken|last=Lunde}}
6. ^{{cite web|url=https://www.unicode.org/Public/UNIDATA/StandardizedVariants.txt|title=Unicode Character Database: Standardized Variation Sequences | publisher=The Unicode Consortium}}
7. ^{{cite web|url=https://www.unicode.org/L2/L2015/15268-slashed-zero.pdf|title=L2/15-268: Proposal to Represent the Slashed Zero Variant of Empty Set|date=2015-10-30|first1=Barbara|last1=Beeton|first2=Asmus|last2=Freytag|first3=Laurențiu|last3=Iancu|first4=Murray|last4=Sargent}}

In OpenType

OpenType has the fwid, halt, hwid and vhal "feature tags" to be used for providing fullwidth or halfwidth form of a character.

See also

  • CJK
  • Han unification
  • Monospaced font
  • Duospaced font
  • East Asian punctuation
  • Em size - full width forms
  • Hangul Jamo (Unicode block)
  • Katakana (Unicode block)
  • Latin script in Unicode
  • Enclosed Alphanumerics - bullet point sequences, some appear as full width (e.g. ⒈,⓵,⑴,⒜,ⓐ)

References

{{Reflist}}

External links

  • [https://www.unicode.org/reports/tr11/tr11-31.html East Asian Width] Unicode Standard Annex #11
{{Unicode navigation}}

4 : Unicode blocks|Latin-script Unicode blocks|Kana|Hangul jamo

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 17:45:42