Recent changes

After a very long interval I’ve finally made some changes to the joyo kanji section of my site. I will eventually overhaul the whole site, but that will take a while.

What follows does not apply to the entrance page to the kanji section, which retains the styling of the rest of That has to do with a programming feature I wanted to use, which also affects the entrance page to this blog, and will probably be discontinued when I revise the site.

I replaced the old color scheme with a plain white background, got rid of the borders around the main content area, and gave up control of the main text font size to the browser. This last change might be only temporary, as I always struggle with wanting to control font appearance as much as other elements on the page. Maybe not. It’s so much easier this way. Now the site looks wide open and is easier to read, always a good thing.

My old font size scheme, which was the topic of my previous post, was based on that of an old article. I still think that scheme is pretty slick, but it’s long past time to try something different.

Also new is a separate page which lists the complete set of joyo kanji. Each character serves as a link straight to the kanji data page, instead of going through the sorter. It is possible to list all the kanji from the sorter, but the difference is that in addition to serving as a link to the data table, each kanji will also display the basic information of stroke count, readings, and meanings when hovered with a mouse.

One final new addition to the site is a button to view random kanji. It is located at the bottom of the kanji data page. This could be useful for anyone who wants to study joyo kanji in, well, random order.

Whatever is your interest in kanji, I hope my coverage of the joyo kanji will be of some benefit despite its limited functionality. The kanji sorter is indicative of the current level of my programming ability. I know that when searching for a specific kanji, it is difficult to find one from a long list. My main goal is to greatly enhance the search capability.


Font size matters

Here’s how I came up with the font size scheme for

The top five web browsers – Chrome, Firefox, Internet Explorer, Safari, Opera – use 16px or medium as their default font size setting for proportional fonts. Based on this I set the font size of the body element to 100% (=1em =16px) and calculated the following scale.

Font sizes expressed as percentages relative to the default of 1em = 16px:

10px = 62.5%
11px = 68.75%
12px = 75%
13px = 81.25%
14px = 87.5%
15px = 93.75%
16px = 100% = 1em
17px = 106.25%
18px = 112.5%
19px = 118.75%
20px = 125%
21px = 131.25%
22px = 137.5%
23px = 143.75%
24px = 150%
64px = 400%

A good font size for reading is 13px, so for p elements (and others as well) I set the font-size property to 81.25%. In general, I use percentages less than 100% for English text and greater than 100% for Japanese text.

If the user changes the default setting, the text will appear smaller or larger than intended, but will remain proportional on the page.


Welcome to Koohii Matters. I’m just starting out here, so please be patient. I hope to have something sensible up soon (a relative term).

koohii is the Japanese word for coffee. It is pronounced like “ko-hee” but with a long “o.” In Japanese it looks like this: コーヒー.