title: Cannot write chinese text using CairoPDF in R
body: <p>I am using cairo pdf as suggested in my previous question</p>
  
  <p><a href="https://stackoverflow.com/questions/12948701/how-to-plot-chinese-characters-on-pdf">How to plot chinese characters on pdf?</a></p>
  
  <p>for generating chinese text on R. </p>
  
  <pre><code>library(Cairo)
  mydata = matrix( c( 2:6, c( 2,4,2,6,3 ) ), nrow= 2 )
  mylabs = c( "木材", "表", "笔", "垃圾桶", "杯" )
  CairoPDF("Report_chinese.pdf", family="GB1")
  barplot( mydata, beside=T, horiz= "T", names.arg= mylabs, las= 1, col= c( "red", "blue" ) )
  dev.off()
  </code></pre>
  
  <p>But there is no chinese text on bar plot. How can i fix this pblm?</p>
  
  <p>Regards</p>