{"id":18301385,"url":"https://github.com/lvgl/lv_lib_freetype","last_synced_at":"2026-03-03T06:36:57.069Z","repository":{"id":46026447,"uuid":"218504424","full_name":"lvgl/lv_lib_freetype","owner":"lvgl","description":"Interface to FreeType to generate font bitmaps run time","archived":false,"fork":false,"pushed_at":"2021-10-22T13:33:19.000Z","size":213,"stargazers_count":58,"open_issues_count":3,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-19T06:02:23.672Z","etag":null,"topics":["embedded","font","freetype","lvgl","ttf"],"latest_commit_sha":null,"homepage":"https://lvgl.io","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lvgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-30T10:45:19.000Z","updated_at":"2025-05-24T09:39:09.000Z","dependencies_parsed_at":"2022-07-26T05:32:38.107Z","dependency_job_id":null,"html_url":"https://github.com/lvgl/lv_lib_freetype","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lvgl/lv_lib_freetype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_freetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_freetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_freetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_freetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvgl","download_url":"https://codeload.github.com/lvgl/lv_lib_freetype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_freetype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30034136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:09:21.518Z","status":"ssl_error","status_checked_at":"2026-03-03T06:08:47.858Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded","font","freetype","lvgl","ttf"],"created_at":"2024-11-05T15:15:48.753Z","updated_at":"2026-03-03T06:36:57.053Z","avatar_url":"https://github.com/lvgl.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FreeType integration with LVGL\n\n**This repository is merged into the lvgl repository. See https://docs.lvgl.io/master/libs/freetype.html**\n\n\nInterface to FreeType to generate font bitmaps run time\n\n## Install FreeType\n- Download Freetype from [here](https://sourceforge.net/projects/freetype/files/)\n- `make`\n- `sudo make install`\n\n## Add FreeType to your project\n- Add include path: `/usr/include/freetype2` (for GCC: `-I/usr/include/freetype2 -L/usr/local/lib`)\n- Add library: `freetype` (for GCC: `-L/usr/local/lib -lfreetype`)\n\n## Usage in LVGL\n\nTo enable cache, set`LV_USE_FT_CACHE_MANAGER  1`in lv_freetype.h.\n\n```c\n  /*Init freetype library\n   *Cache max 64 faces and 1 size*/\n  lv_freetype_init(64, 1, 0);\n\n  /*Create a font*/\n  static lv_ft_info_t info;\n  info.name = \"./lv_lib_freetype/arial.ttf\";\n  info.weight = 16;\n  info.style = FT_FONT_STYLE_NORMAL;\n  lv_ft_font_init(\u0026info);\n\n  /*Create style with the new font*/\n  static lv_style_t style;\n  lv_style_init(\u0026style);\n  lv_style_set_text_font(\u0026style, info.font);\n\n  /*Create a label with the new style*/\n  lv_obj_t * label = lv_label_create(lv_scr_act());\n  lv_obj_add_style(label, \u0026style, 0);\n  lv_label_set_text(label, \"Hello world\");\n\n```\n\n## Learn more\n- FreeType [tutorial](https://www.freetype.org/freetype2/docs/tutorial/step1.html) \n- LVGL's [font interface](https://docs.lvgl.io/v7/en/html/overview/font.html#add-a-new-font-engine)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvgl%2Flv_lib_freetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvgl%2Flv_lib_freetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvgl%2Flv_lib_freetype/lists"}