search for: mbcstosbcs

Displaying 13 results from an estimated 13 matches for "mbcstosbcs".

2012 Jun 06
2
non ascill characters in plots. no alternative but plotmath?
...etters just fine in the screen device. However, I turned on a pdf device to run the same code and see signs of trouble. > text(V1$Format2, V1$Format1, labels=V1$Vowel) Warning messages: 1: In text.default(V1$Format2, V1$Format1, labels = V1$Vowel) : conversion failure on '?' in 'mbcsToSbcs': dot substituted for <ce> 2: In text.default(V1$Format2, V1$Format1, labels = V1$Vowel) : conversion failure on '?' in 'mbcsToSbcs': dot substituted for <b1> 3: In text.default(V1$Format2, V1$Format1, labels = V1$Vowel) : font metrics unknown for Unicode charact...
2013 Feb 18
2
mtext unicode failure
...TRUE,paper="special") > testx<-seq(1:5) > testy<-seq(1:5) > plot(testy~testx) > mtext('text (O?)\n more text',side=3,line=1) Warning messages: 1: In mtext("text (O?)\n more text", side = 3, line = 1) : conversion failure on 'text (O?)' in 'mbcsToSbcs': dot substituted for <e2> 2: In mtext("text (O?)\n more text", side = 3, line = 1) : conversion failure on 'text (O?)' in 'mbcsToSbcs': dot substituted for <82> 3: In mtext("text (O?)\n more text", side = 3, line = 1) : conversion failure on...
2007 Jun 27
1
make check for 2.5.1 RC fails on mbcsToSbcs in graphics
...he following two examples use latin1 characters: these may not > ## appear correctly (or be omitted entirely). > plot(1:10, 1:10, main = "text(...) examples\n~~~~~~~~~~~~~~", + sub = "R is GNU ?, but not ? ...") Error in title(...) : conversion failure in 'mbcsToSbcs' Execution halted The whole tests/Examples/graphics-Ex.Rout.fail is at http://www.cs.cas.cz/~savicky/R-devel/graphics-Ex.Rout.fail The end of make check report is: make[5]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/src/library' running code in 'grDevices-Ex.R'...
2011 Mar 01
0
unicode&pdf font problem RESOLVED
...that is erroneous >>>>> plot(1,type="n") >>>>> text(1,1,"print \U0170\U0171") >>>> Warning messages: >>>> 1: In text.default(1, 1, "print ????") : >>>> conversion failure on 'print ????' in 'mbcsToSbcs': dot >>>> substituted >>>> for <c5> >>>> 2: In text.default(1, 1, "print ????") : >>>> conversion failure on 'print ????' in 'mbcsToSbcs': dot >>>> substituted >>>> for <b0> >&...
2023 Jan 16
1
Printing special characters
...above. Indeed, cairo_pdf("utf8-ex.pdf") # works nicely whereas pdf("utf8-ex.pdf") does not {for me, with default font families etc}, but rather shows the "..." instead. *and* gives warnings during the plot conversion failure on 'EVENT ? 30 sec' in 'mbcsToSbcs': dot substituted for <e2> conversion failure on 'EVENT ? 30 sec' in 'mbcsToSbcs': dot substituted for <89> conversion failure on 'EVENT ? 30 sec' in 'mbcsToSbcs': dot substituted for <a5> BTW, a simple one liner for testing is plot(1,...
2010 Mar 20
1
Printing Unicode characters in a PDF document
...t; pdf("mu.pdf") > plot(1,1, type="n") > text(1,1, "\u3BC") > dev.off() The "text" command yields the following warning messages: > Warning messages: > 1: In text.default(1, 1, "?") : > conversion failure on '?' in 'mbcsToSbcs': dot substituted for <ce> > 2: In text.default(1, 1, "?") : > conversion failure on '?' in 'mbcsToSbcs': dot substituted for <bc> > 3: In text.default(1, 1, "?") : > font metrics unknown for Unicode character U+03bc > 4: In tex...
2006 Sep 04
1
Unable to save a plot containing Chinese (two-byte) Characters (PR#9201)
...reen, but never saves to a file. It does not matter, whether I first draw it on screen and than save or draw straight to pdf. It is also all the same, whether the characters are in label or in the plot itself (via "pch=..." or text()). The Error is always: "conversion failure in 'mbcsToSbcs' " This is an example: plot(1:20, 1:20, main="&#27721;&#35821; Derivational Characters' Productivity") # it draws well, I attempt to 'Save As...' in GUI Error in dev.copy(device = pdf, file = "/Users/pavel/Desktop/hanyu.pdf", : conversion failu...
2023 Jan 16
1
Printing special characters
?s 08:31 de 16/01/2023, Jeff Newmiller escreveu: > Use the Cairo PDF device? > > On January 16, 2023 12:18:48 AM PST, Dennis Fisher <fisher at plessthan.com> wrote: >> R 4.2.2 >> OS X >> >> Colleagues >> >> A file that I have read includes strings like this: >> "EVENT ? 30 sec" >> When I include the string in a graphic
2011 Oct 26
1
set different font family for strings in mtext or text?
...ily, and Chinese character in the system default font family (it seems that the Chinese font family can not be set or changed). However, when using pdf() or postscript(), if setting the font family to "Times", then error message will appear: conversion failure on '...' in 'mbcsToSbcs': dot substituted for... When set the family "song" (a CJK font family), the English character will be displayed in that CJK font family. I hope to know, is there a mechanism that can be used to set different font family for one string, e.g., if one character can not be find in t...
2008 Jul 01
1
Autoconf / Windows package building problem for device package
...it declaration of function 'Riconv_open' devPS.c:862: warning: assignment makes pointer from integer without a cast devPS.c:872: warning: implicit declaration of function 'Riconv' devPS.c:874: warning: implicit declaration of function 'Riconv_close' devPS.c: In function 'mbcsToSbcs': devPS.c:4020: warning: assignment makes pointer from integer without a cast devPS.c:4029: error: 'EILSEQ' undeclared (first use in this function) devPS.c: In function 'PDF_NewPage': devPS.c:6406: warning: unused variable 'i' devPS.c: In function 'PDF_StrSize':...
2010 Aug 17
1
\ell symbol (log-likelihood)
Dear R experts---is it possible to plot the \ell symbol in R under the pdf device? ?the following did not work: pdf(file="ell.pdf"); plot( c(0,1), c(0,1) ); text( 0.5, 0.5, "\u2113" ) dev.off() my guess is that this cannot be done, but I thought I would ask. Ivo Welch (ivo.welch at brown.edu, ivo.welch at gmail.com)
2006 Sep 04
0
(PR#9201) Unable to save a plot containing Chinese (two-byte)
...e="Rplot.pdf") Incorrect usage. > > plot(1:20, 1:20, main="P??li? ?lu?ou?k? k?? ?p?l ??belsk? ?dy.") > # Czech accents work fine > > plot(1:20, 1:20, main="?P??li? ?lu?ou?k? k?? ?p?l ??belsk? ?dy.") > Error in title(...) : conversion failure in 'mbcsToSbcs' > # One Chinese character => Error > > > > >If Chinese characters are 'two-byte', then this likely will not work (but > >at least European locales on MacOS X are UTF-8, so I expected Chinese ones > >to be also). > As far as I know, UTF-8 contains a...
2010 Aug 18
1
Fwd: \ell symbol (log-likelihood)
...t have >>> properly >>> printed the desired glyph (assuming you wanted a cursive lower >>> case "l": >>> >>> Warning messages: >>> 1: In text.default(0.5, 0.5, "?") : >>> conversion failure on '?' in 'mbcsToSbcs': dot substituted for >>> <e2> >>> >>> I also looked in the Hershey fonts without recognition (but could >>> have >>> missed one). One the Mac there is an option among the Zapfino >>> family but I >>> suspect that is of...