15 ms·
The long, tortuous and fascinating process of creating a Chinese font
- skypather 9y agoMinor typos in the article: In using the word "Horse" to show Chinese character evolution, the "Regular" is marked from 220 AD to 907 AD. As a matter of fact, that kind of characters were almost the "standard" in Chinese before Chinese government simplified many words around 1950. Even now, the Republic of China (a.k.a. Taiwan) still recognizes the "Regular" characters as the standard. Among Chinese people in the world, it it also known as the "Traditional" characters.
- deleted 9y ago[deleted]
- jasonjei 9y agoIt’s funny because even in Chinese there’s widespread disharmony with respect to “complicated” (繁體字/繁体字) or “regular” (正體字/正体字) script, as opposed to “simplified” script (簡體字/简体字). (Left-hand side phrase is in traditional/complicated script, while right-hand side is in simplified, for comparison). Even many of the “regular” characters have been simplified. Consider 吃 and 喫—they both mean to eat, but the one with fewer strokes became really the only modern choice to use (however, Japanese still uses the old variant). Another common one is a simplification of the first symbol for Taiwan (臺灣). 台 is often in used of place of 臺.
- wolfgke 9y agoWhere can I read more about this topic?
- rabboRubble 9y agoOff the top of my head, the only place I can recall the 喫 character appearing is in the word 喫茶店 (coffee / tea shop). To eat Japanese would use the 食べる or 召し上がる. After referring to a dictionary, there is a word 喫する,but it's not common (as in I don't recall ever hearing or learning this word) and means more generally consume by mouth as in drink / eat / smoke. Yes, the Chinese 喫 means eat, but no the meaning is not exactly the same and not used with the frequency of the word eat 食べる or 召し上がる.
- yorwba 9y agoConversely, 食 also means "eat" in Chinese, but is now used almost exclusively in nouns like 食物 (food) or 食堂 (dining hall). The Chinese character inventory is simply too large to keep all possible uses, especially across different languages.
- rabboRubble 9y agoYep!
- spacehunt 9y ago食 is still being used everyday in Cantonese as a verb. Granted there are some who classifies Cantonese as a different language from Mandarin, as there are many differences between the two such as this example.
- jasonjei 9y agoRight—I was only writing about the character form. 食べる is used to mean to eat, but as far as raw characters are concerned, Japanese doesn’t use 吃 but rather 喫, the non-simplified form.
- rabboRubble 9y agoApparently there is a use for 吃 in Japanese, 吃 is a sound used to represent a tile being discarded in a game, in compounds such as 吃驚, to be surprised. I think this compound is also used in Mandarin with the same meaning. Quick check of my Chinese dictionary indicates yes, they are a shared character compound / meaning. Edit: fixing up my Japanese
- amake 9y agoJapanese does use it, but it's rare: 吃(ども)る to stutter
- Rexxar 9y agoTangentially related question: do Chinese website use higher font size (especially for traditional script) ? I find those character hardly readable on hackernews at default font size.
- iforgotpassword 9y agoYes for the most part, just check out weibo.com baidu.com xinhuanet.com for example, but its still possible to read at hn size, just not that comfortable.
- mc32 9y ago"longform" chars, like 臺 are typically used in formal writing, like official government docs [marriage lics, passports, etc]. There are also the counterfeit resistant "banker's" number chars used in official docs too [https://en.wikipedia.org/wiki/Chinese_numerals https://en.wikipedia.org/wiki/Chinese_numerals]
- runeblaze 9y agoI think "regular" was used as an example of a script style.
- ilamont 9y agoBut in Chinese, “every character has to be adjusted,” says Su of Justfont. “Each one is its own image, with its own design needs.” That's a key concept not only for font design, but also for learners of Chinese. For certain characters like 醫 you have to scale down or elongate the radicals to be balanced within a unified whole. Add the importance of stroke order and simplified vs. traditional characters, and learning basic writing skills (let alone calligraphy) gets really tricky.
- on_and_off 9y agoSorry if that is a very ignorant question but why not move to a system closer to the latin alphabet with only a handful of signs ?
- innocenat 9y agoYou mean apart from thousand years of history/records and billions of users?
- on_and_off 9y agoI mean like Hangul
- innocenat 9y agoAnd Hangul was also developed long time ago. And Korean(s) has way less users than Chinese.
- brandmeyer 9y agoWhy should the number of users matter? The work factor per person is the same no matter how many people there are.
- lifthrasiir 9y agoHangul was possible because it explicitly targeted a single unified language (Korean was politically unified since circa 900 and the language was stuck).
- bayesian_horse 9y agoTurtle graphics all the way down.
- deleted 9y ago[deleted]
- wiradikusuma 9y agoSince we're in this topic: I'm curious, is there any "Google Fonts" for Chinese fonts? That is, a high quality free font repository.
- peterburkimsher 9y agoI downloaded 1304 fonts from here: https://chinesefontdesign.com https://chinesefontdesign.com I then wrote a script that used Harfbuzz to extract every glyph of 75,000 characters as PNG files. That took about 4 months to run on a spare computer, writing 500 GB to an external disk. I now want to sort out the blank glyphs, but it's really slow even on USB 3. Instead, I bought a 2 TB upgrade for my MacBook Pro, passed down the 512GB to my MacBook Air, and now I'm copying the files from the external disk to the SSD. There's about 90 million files to copy, estimated time remaining 4 days. When I remove the blank images, I plan to use the data to make my own Chinese OCR using Tensorflow. The TTF files alone are 11.82 GB. If you can recommend a suitable file host, I could re-upload them for you.
- sls 9y agoI would love to see a Show HN about your amazing project sometime.
- peterburkimsher 9y agoI submitted it last year, without gaining much interest. https://news.ycombinator.com/item?id=14907618 https://news.ycombinator.com/item?id=14907618 Honestly most of what I've done since then has been data collection (song lyrics, movie subtitles, etc) instead of developing new features. My favourite feature now is to read the song lyrics in church, find 4 characters I know, search my database of Christian song lyrics, load that into Pingtype, and sing along with the pinyin and understand the meaning. It's all automated, but I can't upload it because I've received copyright threats about redistributing the song lyrics. I'm not a limited-liability company (this is a side project) so I'd be personally liable for the consequences of putting it online. I've done much more research to find new data sources. For example, 9gag helped me stumble upon a translated comic (Mixflavor & HowardInterprets). I transcribed all the comics, and I'm using it with my language exchange tutor every week. I decided I wanted to find more comics that are popular with my friends. So I extracted my Facebook friends' liked Pages. (Yes, that sounds like Cambridge Analytica, but I did it myself using an AppleScript to scrape and some bash scripts to parse). I found 223,783 pages, in 865 Facebook categories. I reduced the Facebook categories to 30 of my own categories (Art, Music, Cooking, Driving, Pets, Shopping, Religion, etc). Then I found the top pages for each of those. So I know the most popular musicians in Taiwan. That's going to become a blog post and Show HN soon, when the paranoia about Facebook calms down.
- swang 9y agoFunny enough whenever I see a tattoo on a westerner's body, not only is it usually wrong in the grammar/spelling sense. But it is ugly as hell. Would you let a 5 year old tattoo the word, "Strength" onto your body? That's akin to what I see when I see the typography/style of the tattoo. "Sir, not only does it not say Superman, the characters are backwards and missing strokes" Any Chinese person who tells you the truth about what your tattoo says is being very kind to you, but most Chinese won't say anything bad since they have no reason to embarrass the person. One time when I was still in college my family took a trip out to Mexico. I forgot what store we went into but the cashier asked my dad to write down the cashier's name (sorry forgot that too) into Chinese. My dad spent a decent amount of time to think of the proper characters, wrote it down and we were on our way. I still think about that incident a lot, like what if my dad was a jerk and wrote something stupid for this guy to get tattooed (he wouldn't). but even then he's essentially trusting my dad is not messing up his name in Chinese (it definitely wasn't something like Mark).
- Pamar 9y agoSee http://hanzismatter.blogspot.de/?m=1 http://hanzismatter.blogspot.de/?m=1
- grzm 9y agoYeah, mistranslations can be frustrating. But this has nothing to do with the submission, which has plenty of interesting content. Please don’t derail the substance with unrelated complaints.
- yial 9y agoI found his comments to be interesting, and related in a train of thought way to the submission. I’m sorry it didn’t add additional interesting content for you, but it did for me, and I don’t find these sorts of comments to be a derail.
- swang 9y agois my post a complaint or just an anecdote? the actual article talks about the style and design of a chinese character, which is what my anecdote is about. westerners ignore that aspect of character writing, which is incredibly important. are you a mod? why don't you let the mods mod.
- peterburkimsher 9y agoAre there any Unicode experts here? I've been exchanging emails with Richard Cook (the Unihan maintainer) about getting some "rare" Taiwanese characters added to Unicode. I say "rare" because they're in the Bible, which I think should be covered as a basic text (it's the most-read book in the world!) My research into word spacing, font issues, and more is covered on the blog at https://pingtype.github.io https://pingtype.github.io (click the Docs or Blog header). Practical suggestions for better web design are also welcome. Regarding fonts, this is my specific rant that made me move from Heiti to Pingfang. Unfortunately forcing users to download 13 MB of Pingfang font was too slow for mobile, so I decided to disable it for the web version of Pingtype. https://pingtype.github.io/docs/glyphErrors.html https://pingtype.github.io/docs/glyphErrors.html Edit: These are the IDS codes of the missing characters. Photo evidence from a paper Bible: https://www.flickr.com/photos/150180606@N08/sets/72157693398863955 https://www.flickr.com/photos/150180606@N08/sets/72157693398... ⿱髟煮 chhang.jpg Job 39:19, Job 4:15 ⿸疒粒not𤷟 liap.jpg 1Sa 5:6, 1Sa 5:9, 1Sa 5:12 ... (17 found) - also see WikiSource. ⿱⿳亠口冖足 37106亮足 lo-.jpg Deu 1:28, Deu 2:10, Deu 9:2 ⿰牜周 tiau.jpg 1Ch 17:7, 1Sa 24:3, 2Ch 14:15 (25 found, although 2Ch 14:15 uses 牧 in the paper version)
- ChrisSD 9y agoI'm curious, how popular is the bible in Taiwan? And why does it use Taiwanese characters not commonly used elsewhere?
- oh_sigh 9y agoAbout 5% of Taiwanese are Christian, but culturally Christianity has played a bigger role than you might expect based on that number.
- yorwba 9y agoIf the Taiping Rebellion had been successful, China might have become a (very unorthodox, not accepted by any Western church) Christian theocracy. https://en.wikipedia.org/wiki/Taiping_Rebellion https://en.wikipedia.org/wiki/Taiping_Rebellion
- yayitswei 9y agoI wonder if this is something that machine learning could help with? You could train an aesthetic model to make suggestions and tweak as necessary.
- yorwba 9y agoSomeone has semi-successfully applied GANs to the problem https://github.com/kaonashi-tyc/zi2zi https://github.com/kaonashi-tyc/zi2zi Using it to create a new font would probably still require lots of manual labor to create training data and then check the output (you don't want to mess up the rare character appearing in someone's name...), but being able to easily interpolate should come in handy for exploration of the design space.
- raverbashing 9y agoI hate to say this, but I don't see the point in maintaining complicated old writing systems. (I mean, of course I see the historical and cultural value, but I don't see why should people keep using it) You write a "new" Chinese character and then there is: a) no way to represent it on a computer unless you draw it b) no way of knowing how it's pronounced Latin, Cyrillic, Arabic, Hebrew (ok, they have some common roots), Korean are much more maintainable and "portable". No, Chinese won't be the new English. You get to write and conversate in English in a short time frame (1 yr). Not Chinese. And certainly the learning curve gets steeper the further you go.
- yongjik 9y ago> No, Chinese won't be the new English. You get to write and conversate in English in a short time frame (1 yr). This merely means that you were (very likely) born in a society speaking English or some closely related west European language. You know, the "normal, easy" languages.
- raverbashing 9y ago> born in a society speaking English or some closely related west European language No, not really. Though Romance languages are related to English via PIE. So, it might have been easier than if my mother tongue was Finnish or Turkish or a non PIE Asian language.
- deleted 9y ago[deleted]
- yorwba 9y agoTo add to that, the level of ability you can achieve in 1 year learning English is also doable in Chinese. That's how long I had learned the language before I went for an exchange semester in Shanghai, and from leaving the airport onwards I spent a week speaking Chinese with everyone (taxi driver, checking in at the hotel, finding an apartment, registering my residence with the police ...). Things got funny when I didn't understand at first that my landlord wanted me to pay a deposit, but when someone wants your money, they can usually find a way to communicate, so in the end it worked out fine. The difficulty of Chinese is more in the "long tail" of rare characters. If you memorize 5 characters a day (it gets easier once you know all the basic components), after a year you'll be able to read 90% of most texts and get by without much difficulty, but the remaining 10% require double or triple the amount of memorization and after that there'll still be rare characters that even native speakers don't recognize immediately.
- intopieces 9y ago(2015), please.
- k5hp 9y agoQuartz is publishing such interesting content.
- pcrh 9y agoThanks for this post -- it was an education!
- osteele 9y agoWhen the Macintosh was introduced in 1984, files had a data fork and a resource fork[1]. The data fork was normal file data. The resource fork was an map of (OSType, int16) -> data, where OSType[2] was a four-character resource type identifier such as 'MENU' to specify a menu, 'PICT' for picture, etc. Sort of like MIME types, which were standardized a decade later[3]. Resources were limited to, I think, 4MB. 4MB was 32x the RAM capacity, and 10x the [floppy] disk capacity, of the original Macintosh. One of the OSTypes was 'FONT'. Font data was simply a resource stuck in some file — the system file, or, as a kind of pre-web “web font”, an application. When we added support for CJK fonts, around 1990, we had to also add OS/file system support for resource sizes > 4MB. (I think the limit was increased to 16MB.) Resources were a clever invention that facilitated the development of GUI-heavy apps on what by today's standards are ridiculously resource-constrained computers. (The Apple Watch series 3 has more than 60,000 times the RAM of that first Macintosh — although only a third the screen resolution. :-) Resources also enabled a limited kind of “view source”, that helped a generation of programmers learn their way around Mac application structure. You couldn't view the actual code source, but you could browse the GUI resources of any application you could get your hands on. (This is similar to do the modern web, where the use of webpack, Babel, uglification, and the use of compile-to-js languages, means the actual source code to a complex web site is not accessible, but the assets are.) As MacOS 10.0, which built on the Unix- (Mach-)based NextOS, resources (multiple data within a file; one OS file per UI file) were replaced by Bundles[4] (many OS files — in a directory — per UI “file”). Bundles are a much better solution for a world with a heterogeneity of operating systems (macOS, Windows, Linux and other Un*xen), where files and tools need to port between multiple file systems. Although bundles come with their own portability problems[5]. [1] https://en.wikipedia.org/wiki/Resource_fork https://en.wikipedia.org/wiki/Resource_fork [2] https://en.wikipedia.org/wiki/OSType https://en.wikipedia.org/wiki/OSType [3] https://tools.ietf.org/html/rfc2045 https://tools.ietf.org/html/rfc2045 [4] https://en.wikipedia.org/wiki/Bundle_(macOS) https://en.wikipedia.org/wiki/Bundle_(macOS) [5] https://productforums.google.com/forum/#!topic/drive/25XGSFtnGLk https://productforums.google.com/forum/#!topic/drive/25XGSFt...
- John_KZ 9y agoCan't they just use a shorter set of characters (ie the latin alphabet or the IPA) to write down the pronunciation?
- crooked-v 9y agoYou seem to have forgotten that homophones exist.
- choonway 9y agoThis is a job that is ripe for automation from deep learning.
- zawerf 9y agoAlready happened but I don't think the results are good enough to use: https://github.com/kaonashi-tyc/zi2zi https://github.com/kaonashi-tyc/zi2zi
- stuartcw 9y agoI was once involved with a software project, actually the DOS version of Lotus 1-2-3 2.4J, which bundled some Japanese fonts that were licensed from a Taiwanese font maker. The QA manager told one of the staff to print out every character and check them. I thought it was crazy but the junior guy came back a few weeks later with a list of mistakes that he had found. They were reported to the maker and a new updated version was received. This was at the end of the era when software was distributed on physical media (CDs in this case) and providing updates was a costly business.
- jhanschoo 9y agoTaiwan and Japan have different standard characters have some stylistic differences that few people are aware of! https://en.wikipedia.org/wiki/Han_unification https://en.wikipedia.org/wiki/Han_unification gives a nice table of some variations, if your OS's fonts support them!