Commit 96471314 authored by Timothée Floure's avatar Timothée Floure

Fix the encoding of stringFix the encoding of stringss

parent e4b5e10c
......@@ -9,6 +9,7 @@ defmodule BDF.Font do
|> Enum.map(&(encode(font, &1)))
|> Enum.zip
|> Enum.map(&Tuple.to_list(&1))
|> Enum.map(&Enum.reduce(&1, <<>>, fn (x, acc) -> x <> acc end))
end
def encode(font, char) do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment