Complex text layout

The Devanagari ddhrya-ligature, as displayed in the JanaSanskritSans font, which should be invoked by the layout engine to render the sequence द + ् + ध + ् + र + ् + य = द्ध्र्य.
The word العربية al-arabiyyah, "the Arabic [language]" in Arabic, in successive stages of rendering. The first line shows the letters in left-to-right order and unjoined, as they might appear in an application without complex text layout. In the second line, bidirectional display has been applied, and in the third the glyph-shaping mechanism has rendered the letters according to context.

Complex text layout (CTL) or complex text rendering is the typesetting of writing systems in which the shape or positioning of a grapheme depends on its relation to other graphemes. The term is used in the field of software internationalization, where each grapheme is a character.

Scripts which require CTL for proper display may be known as complex scripts. Examples include the Arabic alphabet and scripts of the Brahmic family, such as Devanagari, Khmer script or the Thai alphabet. Many scripts do not require CTL. For instance, the Latin alphabet or Chinese characters can be typeset by simply displaying each character one after another in straight rows or columns. However, even these scripts have alternate forms or optional features (such as cursive writing) which require CTL to produce on computers.

Characteristics requiring CTL

The main characteristics of CTL complexity are:

  • Bi-directional text, where characters may be written from either right-to-left or left-to-right direction.
  • Context-sensitive shaping and ligatures, where a character may change its shape, dependent on its location and/or the surrounding characters. For example, a character in Arabic script can have as many as four different shape-forms, depending on context.
  • Ordering, where the displayed order of the characters is not the same as the logical order. For example, in Devanagari, which is written from left to right, the grapheme for "short i" appears to the left of ("before") the consonant that it follows: in कि ki, the ि -i should render on the left, its bow reaching until above the k- to the right.

Not all occurrences of these characteristics require CTL. For example, the Greek alphabet has context-sensitive shaping of the letter sigma, which appears as ς at the end of a word and σ elsewhere. However, these two forms are normally stored as different characters; for instance, Unicode has both U+03C2 ς GREEK SMALL LETTER FINAL SIGMA and U+03C3 σ GREEK SMALL LETTER SIGMA, and does not treat them as equivalent. For collation and comparison purposes, software should consider the string "δῖος Ἀχιλλεύς" equivalent to "δῖοσ Ἀχιλλεύσ",[1] but for typesetting purposes they are distinct and CTL is not required to choose the correct form.

Implementations

Most text-rendering software that is capable of CTL will include information about specific scripts, and so will be able to render them correctly without font files needing to supply instructions on how to lay out characters. Such software is usually provided in a library; examples include:

However, such software is unable to properly render any script for which it lacks instructions, which can include many minority scripts. The alternative approach is to include the rendering instructions in the font file itself. Rendering software still needs to be capable of reading and following the instructions, but this is relatively simple.

Examples of this latter approach include Apple Advanced Typography (AAT) and Graphite. Both of these names encompass both the instruction format and the software supporting it; AAT is included on Apple operating systems, while Graphite is available for Microsoft Windows and Linux-based systems.

The OpenType format is primarily intended for systems using the first approach (layout knowledge in the renderer, not the font), but it has a few features that assist with CTL, such as contextual ligatures. AAT and Graphite instructions can be embedded in OpenType font files.

See also

References

  1. ^ "FAQ - Greek Language & Script". Unicode Consortium. 2012-12-03. Retrieved 2013-09-13. It is easier to simply equate the two sigma codes for operations which are concerned with word content, for example.

Read other articles:

Wahyudi Adisiswanto Wahyudi Adisiswanto adalah seorang birokrat Indonesia. Ia sempat menjabat sebagai Kepala Badan Intelijen Negara Daerah Nusa Tenggara Barat. Pada 2022, ia diangkat menjadi pelaksana jabatan Bupati Pidie.[1] Referensi ^ Direktur BIN Dilantik Jadi Penjabat Bupati Pidie Aceh. CNN Indonesia.  Artikel bertopik biografi Indonesia ini adalah sebuah rintisan. Anda dapat membantu Wikipedia dengan mengembangkannya.lbs

 

Politeknik Negeri MadiunJenisPerguruan Tinggi Negeri, PoliteknikDidirikan2003 (2003)DirekturMuhammad Fajar Subkhan S.T., M.T.Alamat Jl. Serayu No. 84, Kota Madiun, Jawa Timur, IndonesiaSitus webhttp://www.pnm.ac.id Politeknik Negeri Madiun (disingkat PNM) adalah perguruan tinggi negeri yang terdapat di Kota Madiun, Provinsi Jawa Timur, Indonesia. Kampus ini merupakan satu-satunya politeknik negeri di wilayah barat Jawa Timur. Kampus I PNM: Jl. Serayu No 84, Pandean, Madiun, Jawa Timur 63...

 

American writer (born 1969) This article's lead section may be too short to adequately summarize the key points. Please consider expanding the lead to provide an accessible overview of all important aspects of the article. (September 2015) Micah WrightBornMicah Ian War Dog Wright1969Area(s)Writer, director, producerNotable worksStormwatch: Team Achilleshttp://www.micahwright.com/ Micah Ian War Dog Wright[1] (born 1969) is an American writer who has worked in film, television, animatio...

الحدود الأذربيجانية الأرمينيةالخصائصالنوع حدود برية الأقطار  أرمينيا أذربيجان الطول 996 كيلومتر تعديل - تعديل مصدري - تعديل ويكي بيانات حدود أرمينيا وأذربيجان باللون الأحمر الحدود الأذربيجانية الأرمينية (بالأذرية: Azərbaycan–Ermənistan sərhədi) و(بالأرمنية: Ադրբեջան–Հայաստան...

 

Voce principale: Watford Football Club. Watford Football ClubStagione 2016-2017Sport calcio Squadra Watford Allenatore Walter Mazzarri Presidente Raffaele Riva Premier League17° FA CupQuarto turno Football League CupSecondo turno Maggiori presenzeCampionato: Heurelho Gomes (38)Totale: Troy Deeney (40) Miglior marcatoreCampionato: Troy Deeney (10)Totale: Troy Deeney (10) StadioVicarage Road Maggior numero di spettatori21,118 vs Manchester United (18 Settembre 2016) Minor numero di spett...

 

Form of old Earth creationism This article is about an interpretation of the biblical creation account. For the philosophical argument for God's existence, see God of the gaps. Part of a series onCreationism History Types Young Earth Time dilation creationism Old Earth day-age gap progressive Neo-creationism Biblical cosmology Book of Genesis creation narrative framework interpretation as an allegory Omphalos hypothesis Creation science Created kind Flood geology Creationist cosmologies Intel...

Public policy school of Harvard University Harvard Kennedy SchoolCoat of armsMottoAsk what you can doTypePrivate nonprofit public policy schoolEstablished1936; 88 years ago (1936)Parent institutionHarvard UniversityEndowment$1.7 billion (2021)[1]DeanDouglas ElmendorfAcademic staff250[2]Postgraduates1,100[2]LocationCambridge, Massachusetts, United States42°22′17″N 71°07′19″W / 42.37139°N 71.12194°W / 42.37139; -71.12...

 

As of 2020, there are five species of birds that are considered extinct in the wild by the International Union for Conservation of Nature. List of species A captive Soccorro dove at the Louisville Zoo Socorro dove – previously endemic to Socorro Island[1] Hawaiian crow – previously endemic to the Big island of Hawaii[2] Alagoas curassow – previously endemic to the state of Alagoas, Brazil[3] Spix's macaw – previously endemic to Bahia, Brazil[4] Guam ki...

 

МифологияРитуально-мифологическийкомплекс Система ценностей Сакральное Миф Мономиф Теория основного мифа Ритуал Обряд Праздник Жречество Мифологическое сознание Магическое мышление Низшая мифология Модель мира Цикличность Сотворение мира Мировое яйцо Мифическое �...

Untuk tempat lain yang bernama sama, lihat Sukaraja. SukarajaKelurahanKantor Kelurahan SukarajaPeta lokasi Kelurahan SukarajaNegara IndonesiaProvinsiSumatera UtaraKotaPematangsiantarKecamatanSiantar MarihatKode Kemendagri12.72.05.1002 Kode BPS1273010006 Luas-Jumlah penduduk-Kepadatan- Sukaraja adalah salah satu kelurahan di Kecamatan Siantar Marihat, Pematangsiantar, Sumatera Utara, Indonesia. Galeri Gereja HKBP Baris di Kelurahan Sukaraja Gereja HKBP Tapian Nauli di Kelurahan Sukaraja G...

 

Gündüz AlpTomba di Gündüz Alp (estrema sinistra)Bey della tribù KayiPredecessorecontestato SuccessoreErtuğrul Luogo di sepolturaTurgutalp, İnegöl, Turchia DinastiaKayiOttomana ConsorteHayme Hatun FigliGündoğdu BeySungurtekin BeyErtuğrul BeyDündar Bey ReligioneIslam sunnita Gündüz Alp (... – ...; fl. XIII) è stato il padre di Ertuğrul e il nonno di Osman I, fondatore dell'Impero ottomano. Indice 1 Biografia 1.1 Discendenza 2 Controversia sull'identità 3 Genealogia 4 G�...

 

American businessman and politician (1922–2009) Edward A. HannaHanna in 1975Mayor of Utica, New YorkIn office1974–1978In office1996–2000Member of the New York State Assemblyfrom the 130th districtIn officeJanuary 1, 1966 – December 31, 1966 Personal detailsBorn(1922-04-07)April 7, 1922Utica, New York, U.S.DiedMarch 13, 2009(2009-03-13) (aged 86)Fayetteville, New York, U.S.Political partyDemocratic (1955–1973, 1991–2007)Other politicalaffiliationsIndependent (1973–...

此條目可能包含不适用或被曲解的引用资料,部分内容的准确性无法被证實。 (2023年1月5日)请协助校核其中的错误以改善这篇条目。详情请参见条目的讨论页。 各国相关 主題列表 索引 国内生产总值 石油储量 国防预算 武装部队(军事) 官方语言 人口統計 人口密度 生育率 出生率 死亡率 自杀率 谋杀率 失业率 储蓄率 识字率 出口额 进口额 煤产量 发电量 监禁率 死刑 国债 ...

 

Lev Davidovich Landau Lev Davidovich Landau (Лев Давидович Ландау, 22 Januari 1908 – 1 April 1968) ialah fisikawan Uni Soviet. Landau menyelesaikan mata pelajaran sekolahnya pada usia 13. Pada 1922, Landau mendaftarkan diri di Jurusan Fisika Universitas Leningrad. Setelah lulus, ia memulai karier ilmiahnya di Institut Teknik Fisika Leningrad. Antara 1932-1937, Landau mengepalai Jurusan Teoretis Institut Teknik Fisika Ukraina di Kharkov (kini di Ukraina). Pada...

 

Term used to categorize types or levels of sanitation for monitoring purposes Share of population using safely managed sanitation facilities in 2020[1] Improved sanitation (related to but distinct from a safely managed sanitation service) is a term used to categorize types of sanitation for monitoring purposes. It refers to the management of human feces at the household level. The term was coined by the Joint Monitoring Program (JMP) for Water Supply and Sanitation of UNICEF and WHO i...

Russian-American basketball player and coach Becky HammonHammon at Madison Square Garden in August 2015Las Vegas AcesPositionHead coachLeagueWNBAPersonal informationBorn (1977-03-11) March 11, 1977 (age 47)Rapid City, South Dakota, U.S.NationalityAmerican, RussianListed height5 ft 6 in (1.68 m)Listed weight136 lb (62 kg)Career informationHigh schoolStevens(Rapid City, South Dakota)CollegeColorado State (1995–1999)WNBA draft1999: undraftedPlaying career1999–20...

 

1991 studio album by Natalie ColeUnforgettable... with LoveStudio album by Natalie ColeReleasedJune 11, 1991Recorded1989; November 1990 – April 1991StudioPacifique, North Hollywood, CaliforniaGenre Jazz traditional pop[1] Length72:47LabelElektraProducer André Fischer David Foster Tommy LiPuma Natalie Cole chronology Good to Be Back(1989) Unforgettable... with Love(1991) Take a Look(1993) Singles from Unforgettable... with Love UnforgettableReleased: June 10, 1991 The Very T...

 

Tyne and Wear Metro station in North Tyneside BentonTyne and Wear Metro stationGeneral informationLocationBenton, North TynesideEnglandCoordinates55°00′50″N 1°34′03″W / 55.0139029°N 1.5676297°W / 55.0139029; -1.5676297Grid referenceNZ277688Transit authorityTyne and Wear PTEPlatforms2Tracks2ConstructionParking10 spacesBicycle facilities5 cycle podsAccessibleStep-free access to platformOther informationStation codeBTNFare zoneBHistoryOriginal companyBlyth an...

Gulf between the Horn of Africa and Yemen in the Arabian Peninsula Gulf of AdenThe Gulf of Aden, as viewed from space (top) and on a map (bottom)LocationEast Africa and West AsiaCoordinates12°N 48°E / 12°N 48°E / 12; 48TypeGulfBasin countries List  Djibouti  Somalia  Yemen 1 de facto[1]  Somaliland Surface area410,000 km2 (160,000 sq mi)[dubious – discuss]Average depth500 m (1,600 ft)Max. d...

 

1997TVE 50 Años Nombre público TVE 50 AñosTipo de canal Televisión digital terrestreProgramación De archivo de TVE de los mejores momentosPropietario Radiotelevisión EspañolaPaís España EspañaFundación 2005Fundador TVEInicio de transmisiones 1997 de edad(Canal Nostalgia)30 de noviembre de 2005 (18 años)(TVE 50 Años)Cese de transmisiones 30 de noviembre de 2005 (18 años)(Canal Nostalgia) 1 de enero de 2007 (17 años)(TVE 50 Años)Personas clave Santiago Gonzá...