Skip to content

Commit 58f42e2

Browse files
committed
testing Japanese font
1 parent 7697ea8 commit 58f42e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

05-geometry-operations-ja.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,15 +857,15 @@ tm1 = tm_shape(dem) +
857857
tm2 = tm_shape(dem) +
858858
tm_raster(col.scale = tm_scale(breaks = seq(200, 1100, by = 150))) +
859859
tm_title("対象") +
860-
tm_layout(frame = FALSE, legend.show = FALSE) +
860+
tm_layout(frame = FALSE, legend.show = FALSE, fontfamily = "Noto Sans CJK JP") +
861861
tm_shape(target_rast_p, is.main = TRUE) +
862862
tm_borders()
863863
tm3 = tm_shape(dem) +
864864
tm_raster(col_alpha = 0) +
865865
tm_shape(dem_resampl1) +
866866
tm_raster(col.scale = tm_scale(breaks = seq(200, 1100, by = 150))) +
867867
tm_title("リサンプリング") +
868-
tm_layout(frame = FALSE, legend.show = FALSE)
868+
tm_layout(frame = FALSE, legend.show = FALSE, fontfamily = "Noto Sans CJK JP")
869869
tmap_arrange(tm1, tm2, tm3, nrow = 1)
870870
```
871871

0 commit comments

Comments
 (0)