s5bug / scolor Goto Github PK
View Code? Open in Web Editor NEWA Scala Library for dealing with OTF fonts, specifically for converting color emoji fonts between platforms.
License: MIT License
A Scala Library for dealing with OTF fonts, specifically for converting color emoji fonts between platforms.
License: MIT License
Right now the code is more like Java. Not enough programming that separates it from Java libs.
ColorEmojiFont(
UShort(32),
"test",
Map(
UInt("A".charAt(0).toInt) -> ColorEmojiEntry(
f.createDocument("https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/acid.svg"),
Map()
)
)
)
@EdgeCaseBerg since you know your way around ScalaTest, is it possible?
Should be fairly easy, if you have understanding of how CMAP works.
Some data is not being written due to this.
Required OTF table.
@EdgeCaseBerg seems like something for you :)
https://www.microsoft.com/typography/otspec/cmap.htm#format12
This is taking the ranges and mapping them specifically.
Fair OTF and Scolor knowledge required for this.
Something for someone more experienced with byte wizardry can do
OTFCBDTTable
OTFCMAPTable
OTFNAMETable
OTFTable
OTFEncodingRecord
OTFNameRecord
OTFOffset16
OTFOffset32
OTFUInt16
OTFUInt32
This should be done once all other pull requests are closed/merged.
So it's easier for hacktoberers to write tables
No real OTF knowledge required for this one.
DBT
tables
BLC
tables
These are basically the same tables with different image formats, look at OTFNAMETable
to see that you do not need to implement every single possible combination.
Microsoft docs for clarity: https://www.microsoft.com/typography/otspec/sbix.htm
The real docs are at https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6sbix.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.