OS Chinese italic Italic Font chinese-ios_girl
Last Update:2017-05-28
Source: Internet
Author: User
<span id="Label3"></p><br><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">Cgaffinetransform matrix = cgaffinetransformmake (1, 0, tanf (cgfloat) m_pi/180), 1, 0, 0);</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">Uifontdescriptor *desc = [uifontdescriptor fontdescriptorwithname: [uifont systemfontofsize:17]. fontName Matrix:matri x];</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">Font = [uifont Fontwithdescriptor:d ESC size:17];</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">Chinese tilt is not supported in ios, so only the tilt angle is set.</p></p><p><p></p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">First line of Code: set Reflection. Tilt 15 Degrees.</p></p><p><p></p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">The second line of Code: gets the system character and sets the Reflection.</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">The third line of Code: gets the Font.</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">The Code Above. By using the F of the child font, the Chinese italic can be realized. The back can be used</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">[string. text drawinrect:d r Withfont:font linebreakmode:nslinebreakbytruncatingtail];</p></p><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em"><p style="margin-top: 0px; margin-bottom: 0.75em; line-height: 1.8; text-indent: 1em">Draws the italic Word.</p></p><p><p></p></p> <p><p>OS Chinese italic Italic Font chinese-ios_girl</p></p></span>