|
I am amazed you are writing your own TrueType renderer. Not to scare you off, but that is something that people like Microsoft and Adobe have large teams working on, even today after decades of stable implementations.
Are you doing the rendering on your itty-bitty device?
If not, and you're doing the rendering in a Windows app and downloading bitmap fonts to the device, you might look at GetGlyphOutlineW function (wingdi.h) - Win32 apps | Microsoft Docs[^].
Software Zen: delete this;
|
|
|
|
|
A) Yes, yes I am. I've got it rendering, sort of. Still working out the kinks
B) Yes I'm rendering on the device, because certain content like EPUB and CSS demands the ability to load fonts
C) I've actually tried the .NET wrapper around that call and the path I got back was pretty neat, but I couldn't get it to align along the ascent consistently enough to rasterize it properly.
Real programmers use butterflies
|
|
|
|
|
Wow.
Software Zen: delete this;
|
|
|
|
|
I need to dekinkify it so I'm actually porting it to C# and back again. Or at least a portion of it.
Maybe I'll post that here.
Real programmers use butterflies
|
|
|
|
|
If you look at your bum in a mirror, does it look like mud?
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
But the question is... do you have enough conundrums for the weekend?
|
|
|
|
|
If I had a bum, I would throw him out of my house!
๐
|
|
|
|
|
How elitist, bigoted, and dehumanizing of you. Just because someone doesn't live in the same economic circumstances as you, there's no call to ridicule them or refer to them as your property. Standing them in front of a mirror and embarassing them is unbelievable cruelty.
Wait a second. Oh. This is one of those English things, isn't it? "Bum" means someone's posterior, buttocks, behind, ass. Okay, now I get it.
Never mind.
Software Zen: delete this;
|
|
|
|
|
The day after his wife disappeared in a kayaking accident, an Irish man answered his door to find a grim-faced constable waiting in the front yard.
"We're sorry, Mr. O' Flynn, but we have some information about your dear wife, Maureen" said the officer. "Tell me!
Did you find her?" Michael Patrick O'Flynn asked.
The constable said "I have some bad news, some good news, and some really great news. Which would you like to hear first?" Fearing the worst, Mr. O' Flynn said "Give me the bad news first".
The constable said "I'm sorry to tell you, sir, but early this morning we found your poor wife's body in the bay". "Lord
sufferin' Jesus and Holy Mother of God!" exclaimed O' Flynn.
Swallowing hard, he asked "What could possibly be the good news?" The constable continued "When we pulled the late, departed poor Maureen up, she had 12 of the best-looking Atlantic lobsters that you have ever seen clinging to her. Haven't seen lobsters like that since the 1960's, and we feel you are entitled to a share in the catch".
Stunned, Mr. O' Flynn demanded "Wow! if that's the good news, then what's the really great news?" The
constable replied "We're gonna pull her up again tomorrow"
Real programmers use butterflies
|
|
|
|
|
a non-programming post?!
|
|
|
|
|
Sometimes I break character.
Real programmers use butterflies
|
|
|
|
|
Captain Obtuse weighing in here. Historically breaks weren't really characters per se. RS-232 and 60 ma current-loop both implemented 'break' by setting the serial signal line to a constant state for several character times to allow downstream hardware to synchronize to a know state.
Software Zen: delete this;
|
|
|
|
|
Who's there?
|
|
|
|
|
The last man on Earth sat alone in a room.
There was a knock at the door...
Software Zen: delete this;
|
|
|
|
|
One day, a man walks into a dentist's office and asks how much it will cost to extract wisdom teeth.
"Eighty dollars," the dentist says.
"That's a ridiculous amount," the man says. "Isn't there a cheaper way?"
"Well," the dentist says, "if you don't use an anesthetic, I can knock the price down to $60."
"That's still too expensive," replies the man.
"Okay," says the dentist. "If I save on anesthesia and simply rip the teeth out with a pair of pliers, I can knock the price down to $20."
"Nope," moans the man, "it's still too much." "Well," says the dentist, scratching his head, "if I let one of my students do it, I suppose I can knock the price down to $10."
"Marvelous," says the man. "Book my wife in for next Tuesday!"
The less you need, the more you have.
Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?
JaxCoder.com
|
|
|
|
|
What a shellfish tale!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Instead of using the ones Herself's company provide her with.
Only took over three hours to set up an account ... most of it waiting for a OTP email, and the rest swearing at half-assed "developers" who produce this cr@p. You can tell it was written by some MP's mates company for a huge amount of money using the cheapest developers they could find sleeping in doorways.
And then they are ordered: one pack allowed only, contains 7 tests. So why are you supposed to do 2 tests a week? Why ship them in packs that last 3.5 weeks for one person, or 1.75 for a family of four?
Governments: I'll never understand them ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: You can tell it was written by some MP's mates company for a huge amount of money using the cheapest developers they could find sleeping in doorways
OriginalGriff wrote: Governments: I'll never understand them Seems like your off to a good start though.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Quote: Governments: I'll never understand them They're actually very easy to understand: unregulated, violent monopolies with no skin in the game.
|
|
|
|
|
OriginalGriff wrote: Governments: I'll never understand them ...
The golden rule.
Them with the gold rule!
The less you need, the more you have.
Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?
JaxCoder.com
|
|
|
|
|
Mike Hankey wrote: Them with the gold rule! in the head please... and don't forget the rule #1 in Zombieland... double tap.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Governments go out of their way to make it confusing. They want to look good to the public and appear to be taking care of them, and providing the services they are being taxed for. Without actually doing so.
That leaves more money for them to line their pockets with.
Maybe you are not giving them enough credit. Perhaps a very good company did the website, with orders to make it ugly and difficult, so that a lot of people won't use it.
The people of Earth are, like the rest of the Cosmos, descending into chaos.
|
|
|
|
|
Managed to order mine without much difficulty, took a couple of minutes mainly due to fact that unusually, I had a mobile signal that was strong enough to receive the OTP that day.
My problem was the postman. I have noticed in the past that reading addresses does not seem to be his strong point judging from what he pushes through our door and, he duly delivered my tests to the right house number in the wrong street.
|
|
|
|
|
My Windows 10 Update and security keeps nagging me about "2021-06 Cumulative Update Preview for Windows 10 Version 21H1 for x64-based Systems (KB5003690)".
I don't do "Previews". What is this one about? Have you tried it? Did you like or hate it? Was it any help?
Curious in NOLA
|
|
|
|
|
I am also a compulsive updater who wondered about that...
But I guess I am becoming less compulsive in my old age and thought screw it, I will just ignore that!
|
|
|
|