memopri 0.0.2.1 → 0.0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e6101863473e3e92fab7c435ccea123e015a000
4
- data.tar.gz: 259d6d6c4dd3120eb48f287fc8de16ab51ea717d
3
+ metadata.gz: 371dd58f66565c035957e93dd697c665adb7cdbb
4
+ data.tar.gz: f8a3aa429016f397e8d8a3671770a6d426515fe2
5
5
  SHA512:
6
- metadata.gz: b8e0ca33cce9dc9fee13c38f850ff1dcfa00110c125ce6d1c395d8bff16a0e11528e6fba3c7f39c2f0812cec082faf0e06af225e3bb2760b180bc2ce36b0e58c
7
- data.tar.gz: 37bdf25f8340e5b17ee9598ae1a395d6e1a8dcf344e2d07bb2bfbb69a96fbf5225f576d523741d96cd87ca233b218e055b6944d9bcb06a7590214f91be15fb46
6
+ metadata.gz: 05c2c5a2e4b2826f1227bc3aa295efe3372b5f8a66c63783b7edf952ea2c50db9d808b56aa16c60e989bbdf1c3376edbd77a4d99c936b4bcbbfc01f653439d8b
7
+ data.tar.gz: 751fceef9c44292ccad8173d677eb42e7c6576bd59329a0f1e1a7f2a35e735a794a8a4991be20b29503d65b170fd1199f59af75fa3bc894e32966a8df64f72d6
@@ -35,14 +35,13 @@ class Memopri
35
35
  context = Cairo::Context.new(surface)
36
36
  layout = context.create_pango_layout
37
37
  layout.text = str
38
- #layout.width = width * Pango::SCALE * 0.9
39
38
  layout.wrap = Pango::WRAP_CHAR
40
39
  layout.font_description = font_description
41
40
  context.translate(0, 7)
42
41
  context.show_pango_layout(layout)
43
42
  context.show_page
44
43
 
45
- surface.write_to_png("/tmp/hinomaru.png")
44
+ surface.write_to_png("/tmp/memopri-debug.png")
46
45
 
47
46
  data = []
48
47
 
@@ -1,3 +1,3 @@
1
1
  class Memopri
2
- VERSION = "0.0.2.1"
2
+ VERSION = "0.0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memopri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Ikegami