<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>miz_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/miz_tech/</author_url>
  <blog_title>/Users/mizchi/workplace/</blog_title>
  <blog_url>https://miz-tech.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>ruby/sdl</anon>
  </categories>
  <description>Ruby/SDLのEncodingとTTFの相性に気づかず数時間無駄にしたSDL::TTF.open('ipam.ttf', 50)TTFフォントが読み込んだ後うまく動かないー、なんて思ってたらEmacsの文字エンコーディング(UTF-8)との相性が悪かったみたい。sjisにしたら動いた。なんでsjisなんだろう。 なんかさっきやったチュートリアルだと、「BDFフォントがRuby/SDL上が日本語を使う唯一の方法です！(キリッ」 みたいなことが書いてあったけど全然そんなことはなかった。逆に最近はBDFフォントはネット上に落ちてないので非常に探すのが面倒。SDL::Kanji#set_codin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmiz-tech.hatenadiary.org%2Fentry%2F20091024%2F1256361345&quot; title=&quot;Ruby/SDLとエンコーディング - /Users/mizchi/workplace/&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-10-24 14:15:45</published>
  <title>Ruby/SDLとエンコーディング</title>
  <type>rich</type>
  <url>https://miz-tech.hatenadiary.org/entry/20091024/1256361345</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
