发明名称 ELECTRONIC DEVICE AND METHOD FOR OUTPUTTING HANDWRITING FONTS
摘要 In a method for an electronic device to output handwriting fonts, a thickness and a color is chosen for lines of handwriting fonts. Coordinates of touch points in response to a handwriting operation on the touch screen are recorded and one or more handwriting fonts are generated based on the recorded touch points. A first bitmap including the generated handwriting fonts is generated and a compression ratio between a minimum area of the generated handwriting fonts in the first bitmap and a area of a font in a text box of the electronic device is calculated. The generated handwriting fonts are compressed according to the compression ratio and a second bitmap including the compressed handwriting fonts is generated. The second bitmap is converted into a figure, and the figure is outputted in the text box of the electronic device.
申请公布号 US2015170392(A1) 申请公布日期 2015.06.18
申请号 US201414566918 申请日期 2014.12.11
申请人 SHENZHEN FUTAIHONG PRECISION INDUSTRY CO., LTD. ;CHIUN MAI COMMUNICATION SYSTEMS, INC. 发明人 YANG YAO-YU
分类号 G06T11/60;G06T11/20;G06F3/041 主分类号 G06T11/60
代理机构 代理人
主权项 1. A method for outputting handwriting fonts using an electronic device, the method comprising: choosing a thickness and a color for lines of handwriting fonts on a user interface on a touch screen of the electronic device; recording coordinates of touch points in response to a handwriting operation on the touch screen; generating one or more paths based on the coordinates of touch points, and generating one or more handwriting fonts based on the one or more paths according to the thickness and the color chosen; generating a first bitmap comprising the one or more handwriting fonts; determining a minimum area of the one or more handwriting fonts in the first bitmap and determining an area of a font in a text box of the electronic device; calculating a compression ratio between the minimum area of the one or more handwriting fonts in the first bitmap and the area of the font in the text box of the electronic device; compressing the one or more handwriting fonts according to the compression ratio into compressed handwriting fonts and generating a second bitmap comprising the compressed handwriting fonts, the second bitmap having the same size with the font in the text box; and converting the second bitmap into a figure and outputting the figure in the text box of the electronic device.
地址 Shenzhen CN