Giter VIP home page Giter VIP logo

Comments (7)

drdnar avatar drdnar commented on June 27, 2024

I don't understand exactly what such a format would look like. Like the FixedWidthCEFontExporter format, but in binary instead of assembly source and without the header?

from mfe.

TheRealHamtaro126 avatar TheRealHamtaro126 commented on June 27, 2024

There is a choice for the height for the font with either 8 or 16 pixels width window, in Binary (.BIN) form

They are already assembled without header, in other words...

the 16 pixels width window with is for DOS 40-Column Mode simulation, in which fonts use 2 pixels instead of 1 pixel.

from mfe.

drdnar avatar drdnar commented on June 27, 2024

So, if you were to generate the output .bin file using assembly, the assembly source file would look like:

; 8-pixel-wide font
    ; Char 0
    .db char0_line0
    .db char0_line1
    . . .
    .db char1_line0
    . . .
    .db char255_lineN

; 16-pixel-wide font, with big-endian byte order
    ; Char 0
    .dw char0_line0
    .dw char0_line1
    . . .
    .dw char1_line0
    . . .
    .dw char255_lineN

(This is so I know exactly how to format the data.)

from mfe.

TheRealHamtaro126 avatar TheRealHamtaro126 commented on June 27, 2024

Yep, That is the format I'm talking about here. but we need to choose the height before export or import.

from mfe.

drdnar avatar drdnar commented on June 27, 2024

Wouldn't height be implied by the font settings?

from mfe.

TheRealHamtaro126 avatar TheRealHamtaro126 commented on June 27, 2024

Yes, That would be correct. but the format is in it's assembled binary form only, and is not an executable font like .FNT or .TTF, or source like .ASM or .C, and cannot be determined unless manually input by a human.

from mfe.

drdnar avatar drdnar commented on June 27, 2024

Weeell this took a lot longer than it should have given the simplicity of the request.

from mfe.

Related Issues (1)

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.