1
0
Fork 0

#50 Added support for unicode rendering

This commit is contained in:
Carlo Sciolla 2016-12-25 20:13:23 +01:00
parent 4bdff5676d
commit 160c865e2b
No known key found for this signature in database
GPG key ID: BA5D71E6F3C580C1
2 changed files with 5 additions and 5 deletions

View file

@ -10,8 +10,9 @@
(defun assert-preview (puml output) (defun assert-preview (puml output)
(plantuml-preview-string 42 (read-test-file puml)) (plantuml-preview-string 42 (read-test-file puml))
(sleep-for 2) (sleep-for 3)
(should (equal (read-test-file output) (read-preview-buffer)))) (should (equal (replace-regexp-in-string " " "~" (read-test-file output))
(replace-regexp-in-string " " "~" (read-preview-buffer)))))
(ert-deftest preview-test () (ert-deftest preview-test ()
(setq-local plantuml-jar-path plantuml-test-jar-path) (setq-local plantuml-jar-path plantuml-test-jar-path)

View file

@ -1,9 +1,8 @@
┌────┐ ┌───┐ ┌────┐ ┌───┐
│lang│ │日本語│ │lang│ │日本語│
└─┬──┘ └─┬─┘ └─┬──┘ └─┬─┘
│ │ │ │
│ ─────────────>│ │ ─────────────>│
┌─┴──┐ ┌─┴─┐ ┌─┴──┐ ┌─┴─┐
│lang│ │日本語│ │lang│ │日本語│
└────┘ └───┘ └────┘ └───┘