CN108427585A - 电子装置的字体显示方法 - Google Patents
电子装置的字体显示方法 Download PDFInfo
- Publication number
- CN108427585A CN108427585A CN201710075368.8A CN201710075368A CN108427585A CN 108427585 A CN108427585 A CN 108427585A CN 201710075368 A CN201710075368 A CN 201710075368A CN 108427585 A CN108427585 A CN 108427585A
- Authority
- CN
- China
- Prior art keywords
- font
- electronic device
- display methods
- language form
- database
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- A—HUMAN NECESSITIES
- A44—HABERDASHERY; JEWELLERY
- A44C—PERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
- A44C5/00—Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
- A44C5/0007—Bracelets specially adapted for other functions or with means for attaching other articles
- A44C5/0015—Bracelets specially adapted for other functions or with means for attaching other articles providing information, e.g. bracelets with calendars
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
本发明提供一种电子装置的字体显示方法,其应用于一嵌入式电子装置上;且所述电子装置的字体显示方法包括以下步骤:建立字体数据库,字体数据库包括多种类型的字体,且字体与语言类型相对应;执行开机程序;接受语言选择指令以获取语言类型;获取待显示内容,并根据语言类型去字体数据库寻找匹配的字体;将待显示内容以匹配的字体显示。本发明设置有字体数据库,可根据语言类型自动寻找匹配的字体,从而实现多种显示效果。
Description
【技术领域】
本发明涉及一种电子装置的字体显示方法,特别涉及一种能提供多种显示效果的电子装置的字体显示方法。
【背景技术】
在嵌入式设备中,一般情况下,我们只规划使用一种字体。同一种字体,给人整齐简洁印象。在不同的页面设计中,可能会需要不同的字体大小,常见四种字体大小(Small,Medium, Large, XLarge)。有时候我们希望显示字符用一种字体,显示数字用另外一种字体。这时候我们可以使用一些软件,如Font Creator将两种字体合并,甚至可以修饰个别字符。这种方法对少量字符是有效的。但是对于字符数量很多的不同字体,这种合并的方法就很低效了。
【发明内容】
本发明的主要目的在于提供一种能提供多种显示效果的电子装置的字体显示方法。
本发明提供一种电子装置的字体显示方法,其应用于一嵌入式电子装置上;且所述电子装置的字体显示方法包括以下步骤:
步骤10:建立字体数据库,字体数据库包括多种类型的字体,且字体与语言类型相对应;
步骤20:执行开机程序;
步骤30:接受语言选择指令以获取语言类型;
步骤40:获取待显示内容,并根据语言类型去字体数据库寻找匹配的字体;
步骤50:将待显示内容以匹配的字体显示。
特别地,所述字体数据库包括若干大小与字型的字体。
特别地,所述字体数据库存储于闪存上。
特别地,所述嵌入式电子装置为腕带手表。
与现有技术相比较,本发明设置有字体数据库,可根据语言类型自动寻找匹配的字体,从而实现多种显示效果。
【附图说明】
图1为本发明电子装置的字体显示方法的流程图。
【具体实施方式】
请参阅图1所示,本发明提供一种电子装置的字体显示方法,其应用于一嵌入式电子装置上;且所述电子装置的字体显示方法包括以下步骤:
步骤10:建立字体数据库,字体数据库包括多种类型的字体,且字体与语言类型相对应;于本实施例中,所述字体数据库包括若干大小与字型的字体。例如,电子装置规划使用的语言类型有英文和中文,每种语言类型的字体大小分成四种,则共需建立8种字体类型,Small英文, Medium英文, Large英文, XLarge英文, Small中文, Medium中文, Large中文, XLarge中文,还可以建立特殊显示效果的字体,如艺术文字字体或艺术数字字体;
步骤20:执行开机程序;
步骤30:接受语言选择指令以获取语言类型,例如,选择英文或中文;
步骤40:获取待显示内容,并根据语言类型去字体数据库寻找匹配的字体,例如,若待显示内容为数字时间和日期时,寻找到艺术数字字体;
步骤50:将待显示内容以匹配的字体显示,将数字时间和日期时以艺术数字字体显示。
于本实施例中,所述字体数据库存储于闪存上。
于本实施例中,所述嵌入式电子装置为腕带手表。
本发明设置有字体数据库,可根据语言类型自动寻找匹配的字体,从而实现多种显示效果。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。
Claims (4)
1.一种电子装置的字体显示方法,其应用于一嵌入式电子装置上;其特征在于所述电子装置的字体显示方法包括以下步骤:
步骤10:建立字体数据库,字体数据库包括多种类型的字体,且字体与语言类型相对应;
步骤20:执行开机程序;
步骤30:接受语言选择指令以获取语言类型;
步骤40:获取待显示内容,并根据语言类型去字体数据库寻找匹配的字体;
步骤50:将待显示内容以匹配的字体显示。
2.根据权利要求1所述的电子装置的字体显示方法,其特征在于:所述字体数据库包括若干大小与字型的字体。
3.根据权利要求1所述的电子装置的字体显示方法,其特征在于:所述字体数据库存储于闪存上。
4.根据权利要求1所述的电子装置的字体显示方法,其特征在于:所述嵌入式电子装置为腕带手表。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710075368.8A CN108427585A (zh) | 2017-02-13 | 2017-02-13 | 电子装置的字体显示方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710075368.8A CN108427585A (zh) | 2017-02-13 | 2017-02-13 | 电子装置的字体显示方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108427585A true CN108427585A (zh) | 2018-08-21 |
Family
ID=63147245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710075368.8A Pending CN108427585A (zh) | 2017-02-13 | 2017-02-13 | 电子装置的字体显示方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108427585A (zh) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645970A (zh) * | 2009-05-15 | 2010-02-10 | 上海闻泰电子科技有限公司 | 一种调整移动终端文本字体大小的方法及装置 |
CN102097086A (zh) * | 2010-12-13 | 2011-06-15 | 康佳集团股份有限公司 | 一种电子装置的字体显示方法及电子装置 |
CN104954568A (zh) * | 2015-06-17 | 2015-09-30 | 上海卓易科技股份有限公司 | 一种手机字体的动态控制系统及方法 |
-
2017
- 2017-02-13 CN CN201710075368.8A patent/CN108427585A/zh active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645970A (zh) * | 2009-05-15 | 2010-02-10 | 上海闻泰电子科技有限公司 | 一种调整移动终端文本字体大小的方法及装置 |
CN102097086A (zh) * | 2010-12-13 | 2011-06-15 | 康佳集团股份有限公司 | 一种电子装置的字体显示方法及电子装置 |
CN104954568A (zh) * | 2015-06-17 | 2015-09-30 | 上海卓易科技股份有限公司 | 一种手机字体的动态控制系统及方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108228704B (zh) | 识别风险内容的方法及装置、设备 | |
AU2016277770B2 (en) | Use of bloom filters to simplify dynamic font augmentation and subsetting | |
CN102375746A (zh) | 一种输入法自适应应用程序的方法及装置 | |
CN105138351B (zh) | 一种为宿主配置插件包的方法与装置 | |
CN104572683A (zh) | 文字笔画动画处理方法和装置 | |
JP2021103552A (ja) | 構造化文書情報の標識方法、構造化文書情報の標識装置、電子機器、コンピュータ可読記憶媒体及びコンピュータプログラム | |
US20220139386A1 (en) | System and method for chinese punctuation restoration using sub-character information | |
CN105224540A (zh) | 页面排版方法及装置 | |
US20170142045A1 (en) | Presenting browser content based on an online community knowledge | |
CN106970913A (zh) | 一种时间的提取方法及装置 | |
Olmos et al. | Transforming selected concepts into dimensions in latent semantic analysis | |
CN108961361B (zh) | 生成特效文字图像的方法及系统、计算机设备 | |
CN107943788B (zh) | 企业简称生成方法、装置及存储介质 | |
US10061752B2 (en) | Method and apparatus for generating a font of which style is changeable | |
CN108427585A (zh) | 电子装置的字体显示方法 | |
CN106033412A (zh) | 一种文本转换方法及装置 | |
CN102723067B (zh) | 一种字符显示方法和装置 | |
US20150325145A1 (en) | Method and Apparatus for Teaching Language | |
Lone et al. | Issues in Machine Translation—A Case Study of the Kashmiri Language | |
CN109165065B (zh) | 一种字阶表的处理方法、装置及设备 | |
Kora Koulik | Typography as a Communicative Tool: A Visual Analysis of Malayalam Cinema | |
CN107730574B (zh) | 基于powershell的身份证自动生成方法 | |
Lin et al. | FontCloud: Web Font Service for Personal Handwritten, Ancient, and Unencoded Characters | |
Nawar | Designing a Generative Pictographic Language | |
CN117953109B (zh) | 生成式图片翻译方法、系统、电子设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180821 |
|
WD01 | Invention patent application deemed withdrawn after publication |