All Projects → emoji-gen → libemoji

emoji-gen / libemoji

Licence: MIT License
📚 Ultimate Emoji Generator library for C/C++

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to libemoji

awesome-twitter-bots
A Curated Collection of the Best Twitter Bots 🤖
Stars: ✭ 99 (+371.43%)
Mutual labels:  emoji
lepre
🐰 Lightweight Emoji Picker for React Enthusiast
Stars: ✭ 15 (-28.57%)
Mutual labels:  emoji
BiliEmoji
B站全表情收集,含付费表情,支持Valine、MiniValine、Waline等评论系统
Stars: ✭ 87 (+314.29%)
Mutual labels:  emoji
printer
A fancy logger yet lightweight, and configurable. 🖨
Stars: ✭ 65 (+209.52%)
Mutual labels:  emoji
umoji
😄 A lib convert emoji unicode to Surrogate pairs
Stars: ✭ 68 (+223.81%)
Mutual labels:  emoji
p3ui
C++ & Python User Interface Library
Stars: ✭ 21 (+0%)
Mutual labels:  skia
directory-structure
📦 Print a directory tree structure in your Python code.
Stars: ✭ 40 (+90.48%)
Mutual labels:  emoji
ocaml-emoji
Emojis in OCaml, use them in your CLIs or whatever
Stars: ✭ 19 (-9.52%)
Mutual labels:  emoji
ngx-emoj
A simple, theme-able emoji mart/picker for angular 4+
Stars: ✭ 18 (-14.29%)
Mutual labels:  emoji
emoji-clock
🕟 Generate the emoji clock face, moon phase 🌗 , or zodiac sign ♉ 🐶 for a given time
Stars: ✭ 12 (-42.86%)
Mutual labels:  emoji
ggChernoff
R package for drawing Chernoff faces in ggplot2
Stars: ✭ 28 (+33.33%)
Mutual labels:  emoji
rm-emoji-picker
A modern, ES2015 emoji picker and editor.
Stars: ✭ 76 (+261.9%)
Mutual labels:  emoji
dart-emoji
A light-weight Emoji 📦 for Dart & Flutter with all up-to-date emojis written in pure Dart 😄 . Made from 💯% ☕ with ❤️!
Stars: ✭ 16 (-23.81%)
Mutual labels:  emoji
contour
Modern C++ Terminal Emulator
Stars: ✭ 761 (+3523.81%)
Mutual labels:  emoji
emoji
Unfancy emoji searcher.
Stars: ✭ 66 (+214.29%)
Mutual labels:  emoji
slack-emoji-for-techies
100s of Slack emoji, many tech-related
Stars: ✭ 123 (+485.71%)
Mutual labels:  emoji
emoji picker flutter
A Flutter package that provides an Emoji picker widget with 1500+ emojis in 8 categories.
Stars: ✭ 55 (+161.9%)
Mutual labels:  emoji
localDataStorage
💼 A handy wrapper for HTML5 localStorage that seamlessly gets/sets primitive values (Array, Boolean, Date, Float, Integer, Null, Object or String); provides simple data scrambling; intelligently compresses strings; permits query by key as well as query by value and promotes shared storage segmentation in the same domain. Key names and values ar…
Stars: ✭ 42 (+100%)
Mutual labels:  emoji
memorable-milestones
A GitHub Action that puts your milestones on auto-pilot, using memorable emoji names 🤖
Stars: ✭ 18 (-14.29%)
Mutual labels:  emoji
latex-emoji
Emoji support in (Lua)LaTeX
Stars: ✭ 32 (+52.38%)
Mutual labels:  emoji

libemoji

Build Status wercker status License

🎉 Ultimate Emoji Generator library using Skia

libemoji

System requirements

  • CMake
  • Python 2.7
  • C11 Compiler
  • C++14 Compiler

Officially supported platforms

We officially support building and running on these platforms below, but you can try it on other platforms.

  • macOS 10.14 Mojave
  • macOS 10.15 Catalina
  • Debian 10 Buster

macOS

When you build this on macOS, please run the commands below before building.

$ brew install cmake

Debian 10 Buster

When you build this on Debian 10 Buster, please run the commands below before building. And, they probably work as well on other Debian versions.

$ sudo apt-get update
$ sudo apt-get install git cmake g++ python libfontconfig1-dev \
    libx11-dev libxcomposite-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev -y

How to build

$ git submodule update --init
$ cmake .
$ make

Example

#include <stdio.h>
#include <string.h>

#include "emoji.h"

int main(void) {
    EgGenerateParams params;
    memset(&params, 0, sizeof(params));
    params.fText = "絵文\n字。";
    params.fWidth = 256;
    params.fHeight = 256;

    EgGenerateResult result;
    if (emoji_generate(&params, &result) != EG_OK) {
        emoji_free(&result);
        return -1;
    }

    FILE *fp = fopen("./emoji.png", "w");
    fwrite(result.fData, result.fSize, 1, fp);
    fclose(fp);

    emoji_free(&result);
    return 0;
}

See also example directory.

Development

Run formatter

$ clang-format --version
clang-format version 9.0.0 (tags/google/stable/2019-05-14)

$ clang-format -i -style=file src/*.cpp src/*.h

See also

License

MIT © Emoji Generator

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].