GithubHelp home page GithubHelp logo

artery-font-format's People

Contributors

chlumsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

artery-font-format's Issues

Error when reading example font

Hi,

I am trying to read the example font as a test for the library, but artery_font::read returns false. Am I doing something wrong or is the file outdated ?

#include <cstdio>
#include <cstdlib>
#include <iostream>

#include <std-artery-font.h>
#include <stdio-serialization.h>

int main() {
  FILE *const font_file = fopen("example.arfont", "r");
  if (font_file == nullptr) {
    std::cerr << "couldn't open font file" << std::endl;
    return EXIT_FAILURE;
  }

  artery_font::StdArteryFont<float> font;
  if (!artery_font::read(font, font_file)) {
    std::cerr << "couldn't read artery font" << std::endl;
    return EXIT_FAILURE;
  }

  return fclose(font_file) == 0;
}

crc32 is incomplete.

the crc32.h never does the final ^0xFFFFFFFF to checksum when all the data has been serialized.

No License

I'd like to use the code in this repository, as well as a repository that pulls this one as a submodule. I am concerned about the legal implications, however, of using a repository with no license. After some investigating, I've found that there's very little I can count on when no license is present. Would you consider adding a license (I can submit a pull request to do so)? I appreciate your use of the permissive MIT license in your other projects, do you have anything against using it for this code as well?

Cant load arfonts generated by latest win64 release of msdf-atlas-gen

example.arfont from version 1.0.1 works fine.
when i generate arfont with msdf-atlas-gen.exe arfonts always fail to load.
im not sure if arfont format is designed to be widely used or its just internal thing?

using png + json given by msdf-atlas-gen.exe is the only other option to get font data?

No release tag

Hi,

as an effort to upload a package for this library into conan center, I noticed from the code that the version of this lib is 1.0, but there is no tag. This is not a big problem since there is a procedure for libraries without official versions, but I thought that it would be nice to have the tag for this purpose as long as others.

N.B: since it is a header-only library, the integration to conan packaging won't require any file addition in this repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.