summaryrefslogtreecommitdiffhomepage
path: root/examples/example.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-04-28 13:11:22 +0900
committerRandy Morgan <[email protected]>2013-04-28 13:11:22 +0900
commiteb660629e9dd2f4dbd5310dc885203f91056f956 (patch)
treecc184e7fc76b266a143c657194f8ff02d3d81a36 /examples/example.rb
parente49aee3e2f700569a519c5346746d239a05383cf (diff)
downloadcaxlsx-eb660629e9dd2f4dbd5310dc885203f91056f956.tar.gz
caxlsx-eb660629e9dd2f4dbd5310dc885203f91056f956.zip
Updated mbcs example to use Arial Unicode MS
This font may not be avilalbe in all renderes.
Diffstat (limited to 'examples/example.rb')
-rwxr-xr-xexamples/example.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example.rb b/examples/example.rb
index 2b17b5fa..08488117 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -309,6 +309,7 @@ end
#```ruby
if examples.include? :mbcs
+ wb.styles.fonts.first.name = 'Arial Unicode MS'
wb.add_worksheet(:name => "日本語でのシート名") do |sheet|
sheet.add_row ["日本語"]
sheet.add_row ["华语/華語"]