---
title: "android下libgdx 中文字符显示初探"
author: "helpbs"
date: "2012-03-29T15:52:00Z"
tags: []
slug: "android-libgdx"
draft: false
lastmod: "2012-04-24T08:48:28Z"
id: 1495912
url: "https://helpbs.iteye.com/blog/1495912"
---

最近开始学习libgdx这个开源的游戏框架，使用bitmapfont有很多缺陷，还要自己动手制作，通过查看代码发现libgdx带了freetype，所以应该是能通过使用中文字体来显示中文字符, 下面是具体使用的代码，有不正确的地方还请多多指正。

![](http://my.csdn.net/uploads/201203/29/1333007725_6047.png)