检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李凯 饶天贵 胡士杰 曾升 Li Kai;Rao Tiangui;Hu Shijie;Zeng Sheng(Rail Transit Technology Center,Zhuzhou CRRC Times Electric Co.,Ltd.,Zhuzhou 412001,Hunan,China;Data and Intelligent Technology Center,Zhuzhou CRRC Times Electric Co.,Ltd.,Zhuzhou 412001,Hunan,China)
机构地区:[1]株洲中车时代电气股份有限公司轨道交通技术中心,湖南株洲412001 [2]株洲中车时代电气股份有限公司数据与智能技术中心,湖南株洲412001
出 处:《计算机应用与软件》2018年第12期325-328,333,共5页Computer Applications and Software
摘 要:针对FLTK(Fast Light Tool Kit)控件自身不能对文本串自动分行显示的问题,提出一种可兼容GB2312、UTF-8等多种编码方式,根据测量预显示文本串在控件中所占像素宽度来分割文本显示的方法。通过与现有文本分行显示方法的对比分析,该方法在减少文本编辑工作量和提高文本分行显示效果上具有明显的优势,为文本智能分行显示技术提供一种新的参考。Aiming at the problem that FLTK widgets could not automatically branch display the text string, we proposed a coding method compatible with GB2312, UTF-8, etc. The text display was segmented according to the measured pixel width of the pre-displayed text string in the widgets. Compared with the existing methods of text branch display, the method has obvious advantages in reducing the workload of text editing and improving the effect of text branch display. It provides a new reference for text intelligent branch display technology.
关 键 词:文本分行 FLTK 量宽式 显示技术 UTF-8 GB2312
分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117