Magenegi Do you have had a chance to eat wakegi(分葱)? Wakegi is one of spring vegetables in Japan. A kind of onion but we usually eat green leaves instead of bulbs. I love one of wakegi dishes called Magenegi(まげ葱).
A cherry blossom. The declaration of flowering(開花宣言). For what? Of course, about cherry blossoms at my garden he-he-he. I’ll show you the photo. See the right image. Unfortunately, the photo does not have good color because it’s rainy today.
I also show you other photos of my garden flowers in the table.
Apache HTTP Server 2.4.9 was released, and they did not release 2.4.8 because of an issue about OpenSSL area. So we’d better think 2.4.9 includes the changes with 2.4.8.
Fig.1 30 pin plug head I have an FMVH70K7V and I got it as one of my uncle belongings. I used the PC as my web sever machine. It’s already broken but its display(VL-17VS2) is still alive. The display has very unique connector like the right image(Fig.1). Though I’d used the display to watch TV since Digital Terrestrial Television Broadcasting starting, I began to think I wanted it as a PC monitor after installing a Vista on the KeyPaso. At the time I couldn’t find any information about its pin assignment on the Internet.
Fig.2 34 wires in it. They excited motivation in me but I got a cold after New Year holidays as you know, he-he. So my work about it began behind my plan. It was Jan. 16.
First I checked the cable of 30 pin connector by a circuit tester. Actually, the cable had 34 wires like as the left image(Fig.2), grrrr. To check the cable took more than one month, mainly my physical condition and probably to use a circuit tester was after a long time. Second I checked the DVI-D cable, which took only a day. Very short than to check the 30 pin connector.
When I was doing this, I talked to FHさん on his BBS. Here is the reprint(Japanese) of a part of his BBS related to my article, which appears his courtesy.
Connected each wire following the result. Used heat shrinkable tube as the technique to isolate each wire(Fig.3).
[Note1] FHさん is kind enough to show me how to use heat shrinkable tube.
[Note2] I also connected the wires about USB things, but my remote controller coming with FMVH70K7V did not work.
Fig.4About the wires that have a metal shield originally, wrapped with a piece of aluminum foil for cooking and over-wrapped them in insulating tape(Fig.4).
Fig.5Wrapped all 34 wires and shield in insulating tape(Fig.5).
I have good images on the display.
Now, mission complete, I think. Buuuuuut, there is more to it (T_T).
Edit(Apr.7):
I forgot to write. I heard the cable with the display (VL-17VS2) is not straight. I checked the only PC-side assignment out, so it is not useful for you if you want to change the display-side connections.
The php.ini-production loses the next 31 lines. My server had nothing affected by them, though.
———————————————
; session.bug_compat_42
; Default Value: On
; Development Value: On
; Production Value: Off
———————————————
; session.bug_compat_warn
; Default Value: On
; Development Value: On
; Production Value: Off
———————————————
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope.
; PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning separately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled. This feature
; introduces some serious security problems if not handled correctly. It’s
; recommended that you do not use this feature on production servers. But you
; should enable this on development servers and enable the warning as well. If you
; do not enable the feature on development servers, you won’t be warned when it’s
; used and debugging errors caused by this can be difficult to track down.
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-42
session.bug_compat_42 = Off
———————————————
; This setting controls whether or not you are warned by PHP when initializing a
; session value into the global space. session.bug_compat_42 must be enabled before
; these warnings can be issued by PHP. See the directive above for more information.
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-warn
session.bug_compat_warn = Off
———————————————
As the official PHP binary includes php5apache2_4.dll, I extract the zip archive and replace all PHP5.5.9 files with all PHP5.5.10 files except my php.ini. Then, I restart my Apache. That’s it.
If you need how to configure PHP5.5, please see the post. It is for a mbstrings user, but the information gives some help for you.
Now, I have the ttf file(Untitled1.ttf) I want. First I’ll make a subset from the ttf file. Actually my ttf file only contains 31 glyph, nevertheless, the subset file is smaller than the original file. So, this work is worthwhile. Second, I’ll make a WOFF file.
You can find some sites which create WOFFs from ttfs. For example, Webfont Generator, ttf to woff converter, Font2Web, and so on. Some of them can convert full-size characters as well as half-size characters, others cannot. You are able to use command line tools like sfnt2woff. But I found a tool named WOFFコンバータ and can use it on Windows 2000/XP/Vista/7/8 and Mac OS X 10.6 or later. Besides, they distribute a subset font maker named サブセットフォントメーカー, which also works on Windows 2000/XP/Vista/7/8 and Mac OS X 10.6 or later. So, I’ll use it. I greatly appreciate their tools.
Explanations of words:
参照 <--- Browse.
作成元フォントファイル <--- It means "Original File Location & Name".
作成後フォントファイル <--- It means "Subset File Location & Name".
フォントに格納する文字 <--- It means "What characters you want the Subset file to include".
書体名を変更する <--- Change Font Name. IMPORTANT!! If a font on your system has the same name, it might be affected by this font.
作成開始 <--- Make Subset
Explanations of words:
サンプル文字列 <--- Characters for @font-face Demo
変換開始 <--- Convert to WOFF.
When this work ends, the tools give me next three files.
・Untitled1_sub.html
・Untitled1_sub.ttf
・Untitled1_sub.woff
If you open the Untitled1_sub.html by a text editor, you can find the css code you need.
In my case, I created the WOFF to use for the my Japanese blog Theme which is a child Theme of ‘Sugar and Spice’. So I added the css customization for its style.css. Here is my current style.css in the child Theme folder. Bold and italic parts are new additions. Of course, you have to upload the WOFF file to your server.
Then the Widget Titles on my Japanese blog have changed their design. See the top image of this post. The WOFF file size is only 10.8KB. Now I have satisfied my own ego trip ha-ha-ha.
Now, I can use FontForge. By the way, the fontforge_cygwin-20090914.tar.bz2 on my Windows8 Pro x86 is very unstable. But it works. FontForgeSetup_2012-07-31_Windows.exe didn’t work and fontforge-20090923-1.i386.rpm was more unstable than fontforge_cygwin-20090914.tar.bz2 on my system. There is no turning back. So, I use the fontforge_cygwin. See the edit. You can use FontForge for Windows.
I first write about creating a ttf file, but note the following points. To follow my procedure probably you have a ttf file and it possibly works. But I do not mention a lot of information to create a full ttf file. So if you want to make a decent ttf file, learn about it by yourself after my method confirmed. You can find more information on Tutorial.
**Step by step #2**
Open a cygwin window (by clicking on the cygwin icon).
$ xinit — Fig.1
I have X in a large window.
[Note] I think you’d better make a working folder for your WOFF. The folder is named MyFont or something like that and placed in cygwin\home\<username>. You save your Inkscape SVG files to the folder, which is convenient for your rest work.
$ cd MyFont
$ fontforge -new — Fig.2
I have a new window at the right top corner.
***Starting to create a font.
I create a Japanese font, so I use a re-encoding feature (JIS 212 (Kanji)). — Fig.3
****Creating a half-width character.
At the first, I make “p” as a half-width character example. Double clicking on the green area. — Fig.4
I have another window. — Fig.5
Save all I made as a sfd file (default: Untitled1.sfd). — Fig.14, Fig.15
[Note] Usually, we don’t need saving at this point, but my FontForge is very unstable. So, I saved all at the point every time just to be on the safe side.
[Note] If you make half-width characters, repeat 2(Fig.4) -10(Fig.15) about all half-width characters you want to make.
****Creating a full-width character.
I make “ン” as a full-width character example. When making a full-width character, use ‘View’ → ‘Goto’ feature because the finding character place is difficult. — Fig.16
Copy & paste “ン” in the search form and [OK]. — Fig.17
Double clicking on the yellow area. — Fig.18
Repeat from Fig.5 to Fig.8.
Double click U+30F3.SVG. — Fig.19, Fig.20
[Note] ‘U+30F3’ is the Unicode for ‘ン’. If available, ン.SVG is convenient for its file name, but, unfortunately this directory menu does not show full-width characters correctly on my system. So I use half-with characters as SVG file names.
Today’s bird. The ume(梅) are blooming beautifully in my garden now. Of course, mejiro are coming almost everyday. This morning, I found another kind bird. What is this? I cannot remember. I think this is its song because the song came from the same direction of the bird.
If your browser doesn’t support audio tags, download and listen!!
Edit:
One of my Japanese Blog visitors told me the name of the bird. It is a Shijūkara(四十雀). I’ve already seen it, I think. Now, my head is cleared. (^^)