Click here to Skip to main content
15,891,652 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Things that tell the truth Pin
Jörgen Andersson4-Jul-21 23:53
professionalJörgen Andersson4-Jul-21 23:53 
GeneralRe: Things that tell the truth Pin
Jacquers3-Jul-21 5:42
Jacquers3-Jul-21 5:42 
GeneralRe: Things that tell the truth Pin
Greg Utas3-Jul-21 5:54
professionalGreg Utas3-Jul-21 5:54 
GeneralRe: Things that tell the truth Pin
DRHuff3-Jul-21 11:32
DRHuff3-Jul-21 11:32 
GeneralRe: Things that tell the truth Pin
theoldfool3-Jul-21 11:57
professionaltheoldfool3-Jul-21 11:57 
GeneralRe: Things that tell the truth Pin
DRHuff3-Jul-21 16:04
DRHuff3-Jul-21 16:04 
GeneralRe: Things that tell the truth Pin
pkfox4-Jul-21 0:06
professionalpkfox4-Jul-21 0:06 
RantARGHHH @ Apple/TTF Pin
honey the codewitch2-Jul-21 19:27
mvahoney the codewitch2-Jul-21 19:27 
I've spent at least a day and a half and over 1700 lines of code (compiling but most never having been executed) just *loading* a TTF file.

The tables therein are convoluted. There's one named "OS/2". And yeah it appears as though it was designed by a committee of vendors led by Apple. If it wasn't I'd be shocked just because of how it turned out.

Instead of baking the glyphs for the fonts out they allow you to compose "compound glyphs" which are a composite of multiple glyphs transformed and offset. I suppose it's to make the file size smaller but it makes decoding them a hassle that requires heap allocs and deallocs in order to do the bookkeeping to process the whole mess, furthering heap fragmentation and also potentially causing out of memory exceptions on RAM that's only used temporarily during the loading process and then tossed. I can see why I have to do similar with decompressing JPEGs but font files should never be this complicated.

I really don't like being in the situation of having a day of coding under my belt but having not even run the code yet.
Real programmers use butterflies

GeneralRe: ARGHHH @ Apple/TTF Pin
Greg Utas3-Jul-21 0:00
professionalGreg Utas3-Jul-21 0:00 
GeneralRe: ARGHHH @ Apple/TTF Pin
Nelek3-Jul-21 0:20
protectorNelek3-Jul-21 0:20 
GeneralRe: ARGHHH @ Apple/TTF Pin
Gary R. Wheeler3-Jul-21 7:13
Gary R. Wheeler3-Jul-21 7:13 
GeneralRe: ARGHHH @ Apple/TTF Pin
honey the codewitch3-Jul-21 10:00
mvahoney the codewitch3-Jul-21 10:00 
GeneralRe: ARGHHH @ Apple/TTF Pin
Gary R. Wheeler3-Jul-21 13:07
Gary R. Wheeler3-Jul-21 13:07 
GeneralRe: ARGHHH @ Apple/TTF Pin
honey the codewitch3-Jul-21 14:26
mvahoney the codewitch3-Jul-21 14:26 
GeneralWeekend conundrum Pin
Peter_in_27802-Jul-21 14:04
professionalPeter_in_27802-Jul-21 14:04 
GeneralRe: Weekend conundrum Pin
PIEBALDconsult2-Jul-21 14:57
mvePIEBALDconsult2-Jul-21 14:57 
GeneralRe: Weekend conundrum Pin
JoeSox2-Jul-21 15:07
JoeSox2-Jul-21 15:07 
GeneralRe: Weekend conundrum Pin
Gary R. Wheeler2-Jul-21 18:35
Gary R. Wheeler2-Jul-21 18:35 
JokeKnock knock PinPopular
honey the codewitch2-Jul-21 11:34
mvahoney the codewitch2-Jul-21 11:34 
GeneralRe: Knock knock Pin
Slacker0072-Jul-21 11:45
professionalSlacker0072-Jul-21 11:45 
GeneralRe: Knock knock Pin
honey the codewitch2-Jul-21 11:56
mvahoney the codewitch2-Jul-21 11:56 
GeneralRe: Knock knock Pin
Gary R. Wheeler2-Jul-21 18:40
Gary R. Wheeler2-Jul-21 18:40 
GeneralRe: Knock knock Pin
Marc Clifton2-Jul-21 12:36
mvaMarc Clifton2-Jul-21 12:36 
GeneralRe: Knock knock Pin
Gary R. Wheeler2-Jul-21 18:42
Gary R. Wheeler2-Jul-21 18:42 
GeneralCome In PinPopular
Mike Hankey2-Jul-21 12:45
mveMike Hankey2-Jul-21 12:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.