« first day (818 days earlier)      last day (4356 days later) » 

10:00
yeah, you don't have to use an overloaded operator new, but you could
though probably should only do so once factory methods prove to not be suitable, right?
Keep in mind that operator new is class-wide (or even program-wide) but you may not have access to a lot of information so as to make an informed decision when it comes to doing the allocation. It may not be suitable at all.
If you require that additional parameters be passed (via placement new) to have the necessary information, then well you have a factory with unusual interface.
Is there someone with experience with converting 2D images to 3D volume?
I like potatoes
10:03
I've not done it my self, but it's not a simple problem to do from scratch. how much are you intending to do your self
ok, so what is new in this example: int * p2 = new (nothrow) int[4];
operator new
or just new
@thecoshman me? If possible 0. :)
@NoSenseEtAl new expression involving placement syntax.
@N3sh also, what exactly do you want, to convert a serious of 2D photos into a 3D model, or a series of 2D slices into a single 3D tecture
the later being a trivial task given the right data :P
2D photos, I assume
yeah, I just double-checked
2D photos
let's say I have taken N images of an object all with the same angle difference, I would like to have a tool which creates a 3D volume of that
10:08
yeah, but are you trying to turn them into a 3D texture image sort of structure, an image with xyz, or are you trying to take photos of multiple perspectives and 'stitch' them together such that you have a 3D model that you can 'move' around in
ah right, the later
yeah
yeah, that is a complex task
I want to move around
I know, that's why I don't feel experienced enough (especially with ITK and c++) to work on that
There may be libraries out there that will do this for you
as it is meant to be a side feature of my project
10:09
@LucDanton ah, too complicated for me... I need to find a good reference, but unfortunately I cant :D
yeah, ITK helps a lot; and I would prefer to find someone who has already done it. As I said before, someone actually made a tool which is perfect for my purpose but the SVN URL is not working.
@NoSenseEtAl the 'involving placement syntax' bit refers to the use of std::nothrow. The important part is that it's a new expression.
Tried to contact him but nothing yet; so I am hoping in the SO community :)
but as a few steps that will help you solve it your self, use something like openCV to find patterns between the images. From there, find common points in the images. from there triangulate where the focal point and orientation of each image is 3D space. Then start to triangulate where points shared in images are in 3D space
I have no idea about this ITK you mention though
@LucDanton then again im still confused... can then it be that new returns NULL? Im talking about new, not operator new.
10:12
converting form point cloud to a 3D mesh is... interesting
yeah and quite cool in my opinion :)
@NoSenseEtAl Depends on the exact expression. Something like new T only ever yields nullptr if you go out of your way to make it happen.
chances are, you are best of simple converting your 2D images in to what is known as a point cloud, and then loading that into a 3D editor and convert them into a mesh there
new (std::nothrow) T is designed to report errors via nullptr, yes.
still hoping to find some pre-made tool :D
10:15
Ah, Ill open a SO question regarding this later... too complicated for chat, I just wanted a quck judgement on C++ FAQ :D
There's more than one kind of new (even if just talking about the new expression -- like the array vs non-array forms). It's just not 'one' thing, so there isn't a yes/no answer.
@NoSenseEtAl under normal conditions (except out of memory) auto foo = new foo; will throw rather then return nullptr. Technically it can return nullptr, but you have to go out of your way to make it do so
you can read the FAQ statement : Take heart. In C++, if the runtime system cannot allocate sizeof(Fred) bytes of memory during p = new Fred(), a std::bad_alloc exception will be thrown. Unlike malloc(), new never returns NULL!
@N3sh well, if you are not looking to do it progmatically, super user might be a better place
@LucDanton Except that modern Linux will never do that, it will just give you bogus memory that you cannot access
10:18
@NoSenseEtAl in this context, I understand this to be true
Interesting, apparently new int is required not to throw. Not so sure about new whatever_class_type.
@KonradRudolph Quick, let's inform Lounge<modern_linux>!
@KonradRudolph what about this: while (true) {
int* p = new(std::nothrow) int[100000000ul]; // non-throwing overload
if (p == nullptr) {
std::cout << "Allocation returned nullptr\n";
break;
}
}
you also have to consider what the compilers are actually doing internally, they not be conforming perfectly to the spec in this regard
@NoSenseEtAl Try it, I wouldn’t be surprised if that went into an infinite loop
maybe not with such a big array, try a smaller one
@KonradRudolph it is from wiki : en.cppreference.com/w/cpp/memory/new/nothrow
they have output
10:20
@NoSenseEtAl It may be fake, or not on Linux
or maybe it depends on the system, I’m a bit unclear on the details
> Oh and Google C++ Style Guide is trash
@thecoshman :D
but in any case, (most) modern Linux memory systems will simply allocate virtual memory and only check whether the memory is available once you try to access it. Which means that instead of a bad allocation you’ll get a segfault on memory access
not quite @NoSenseEtAl AFAIK that is supposed to be an internal style guide for there code, and as such it may (can't say for sure having not read the code) actually be very apt
@thecoshman Who are you quoting?
10:22
besides, poor style guide > no style guide at all
@KonradRudolph ...
@StackedCrooked the man with many names :P
Oh, @Luc's here. Since you are the only person that I know knows French and German you will have to answer me this. Are "ä", "ö", and "ü" in German pronounced like, respectively, "ai", "oeu", and "u" in French?
@KonradRudolph I know of that "feature" , best part is WTF mode when it tries to kill processes when it runs out of real memory
@thecoshman Jesus?
10:22
Close
@R.MartinhoFernandes Yes.
@StackedCrooked no, thecoshman will do
@NoSenseEtAl OOM kill. It is possible to disable that. But really,what else do you propose? Letting random (service) processes die because some other process is allocating all the memory would be much much worse, IMO
@R.MartinhoFernandes and how they pronounced in English?
10:24
@NoSenseEtAl IOW: isolation (both process and application virtualization) is key to reliable computing.
@R.MartinhoFernandes … am I nonexistent?
@KonradRudolph Didn't know you knew French.
regarding C++ FB >> Google... FB is on g+
+4.7
@sehe sounds like an enterprise level solution :P
@R.MartinhoFernandes I did my A levels in France/French
10:26
@thecoshman nah. It sounds like a problem that has no good solution. It's a problem you should not be getting into anyway. Software cannot be made reliable without thinking about trust in relation to sharing resources. As long as you are sharing resources, there will be no actual isolation
@sehe I propose signalling OOM as soon as memory is requested. Revolutionary, I know.
@sehe I think it's more that you should not trust. Expect other programs to have eaten all the ram and there to be no disk space and to get very little cpu time etc. if you write your program to handle such bad conditions, then it should be fine
of course, as with all things, in moderation
damn biscuit packet putting up a fight >:(
huh... never sure which way around >:( is meant to be read viewed
@thecoshman I'm sure you always do that.
:P
@thecoshman I think, depending on your accent, the "u" in "nude" might pass for a "ü". I am having difficulty finding English phonemes similar to the other two.
has java ever not had a non critical 0 day?
Xeo
Xeo
10:33
@R.MartinhoFernandes Nah, doesn't work.
@StackedCrooked yes... always...
Xeo
Xeo
'ä' would be the 'a' in "fat"
@R.MartinhoFernandes a 'ooh' sounds?
@thecoshman Ok, not your accent.
@R.MartinhoFernandes Start with 'good' with a pretend Scottish accent, and turn it up to eleven! You get güd!
10:34
@R.MartinhoFernandes perhaps you say it like 'mud' which is a sort of 'uh' sound
@thecoshman No.
@thecoshman How do you write a program that handles such bad conditions? How is it different from a "normal" program?
@Xeo I'm skeptical.
@Xeo Me too.
@Xeo I don't think that counts in any accent I have ever heard.
10:36
@LucDanton good => excessive scootish saccent => oohk lahdy, ghet meh anoover pie
aarrrgh, raaaaage!
@BartekBanachewicz because it's not unreasonable to think that wherever he is learning C++ from thought it was worth teaching him the core language (what arrays and pointers are) before going into the standard library. A teaching strategy you may or may not agree with, but certainly a legitimate one. Simply telling him he's wrong with a "hint" that would seem very cryptic to someone who hasn't seen the C++ standard library is unhelpful. As is saying something is "evil" with no explanation. — Brennan Vincent 23 mins ago
@Xeo später [ˈʃpɛːtɐ] vs fat /fæt/?
@StackedCrooked I mean, if you write programs that expect to have 100% available, unlimited disk space, unlimited ram, zero latency, you are going to have a bad time
Xeo
Xeo
@R.MartinhoFernandes The 'ä' in 'später' is pronounced more like an 'e'.
@Xeo fat would have a short a, like 'ah'
10:38
@Xeo As everywhere else...?
@Xeo In Hochdeutsch it’s exactly pronounced like “e”. No distinction. Ever.
berufstätig [bəˈʁuːfsˌtɛːtɪç]
Xeo
Xeo
@KonradRudolph Meh, just 'ä' I pronounce differently. :)
@thecoshman Err...
@Xeo Most do, me included, but that’s not Hochdeutsch
Xeo
Xeo
Oh well
'ash' is another good example, btw.
10:39
lol
@Xeo again, 'ah'
I am going to say you don't know English, because the other possibility is silly.
ash, fat, cat, that, twat, mat, sat, all have a short 'ah'
Xeo
Xeo
@R.MartinhoFernandes I'd say we get on mumble if we weren't at work right now.
10:41
same for 'an apple' both short 'ah' sounds
Or you cannot distinguish the two sounds.
@Xeo because low bandwidth chat will clear this up :P
For they are clearly different to me.
The 'ä' in 'später' is not pronounced like bad (English) is it? It thought it was sounded like Dutch "meer".
'debt' supposedly is /dɛt/, which is what we're after right?
Xeo
Xeo
10:42
@LucDanton Except longer.
@LucDanton The colon (ɛː) makes it longer.
Xeo
Xeo
@R.MartinhoFernandes Like I said, I pronounce just the letter 'ä' differently. Not like an 'e', but like the 'ah' sound as in 'ash'.
@StackedCrooked again this will be a shot 'ah' sound
@StackedCrooked nope. yup.
Oh, I overlooked that.
10:42
It is easy to do so.
@Xeo Where's that from, if I may ask?
@LucDanton the 'e' in 'debt' is an short 'eh' sound too
Xeo
Xeo
@LucDanton Hm?
@LucDanton Also, // notation is devoid of details, while [] notation is full of details.
@Xeo The accent.
@R.MartinhoFernandes When I'm too lazy to do proper research I defer to wiktionary, which is kind of hit or miss.
10:44
@LucDanton I do that too, but sadly it appears the English version uses // everywhere, and the German one uses [] everywhere.
Xeo
Xeo
Discussing pronounciations over text chat is silly. We need to do that on mumble or something sometimes.
indeed
@Xeo That's why we have IPA!
I don't mind IPA.
I need to get a decent headset for me computer
10:47
@Xeo or text to speech
That cannot render accents properly.
Xeo
Xeo
contribute.dict.cc/?action=audio-history&f=id-32908 would be the 'a' in 'ash' pronounciation
Unless it is rendering very detailed IPA to speech.
@Xeo I don't hear æ
Xeo
Xeo
and contribute.dict.cc/?action=audio-history&f=id-466018 would be the 'e' pronounciation
10:49
@Xeo Waaat.
Xeo
Xeo
@LucDanton Wat.
@Xeo You're crazy.
one problem with the 'ah' sound in English is a lot of people tend to make it sound like 'ar'. so ash might be be said 'ah-sh' or 'ar-sh', the later generally being considered a 'posh' way of specking
@R.MartinhoFernandes Oh I just noticed that you also asked about “ö” – the short “ö” is (almost?) exactly a schwa [ə], i.e. corresponds to French “e”, not “oeu”. The latter corresponds to long “ö”.
@Xeo Closer to e I'd say, but I need to find a better IPA table.
10:51
does @melak47 still frequent the lounge?
@KonradRudolph How common is the short one?
@LucDanton No idea, but pretty common. “können”, “röcheln”, “gönnen” …
Xeo
Xeo
@LucDanton In Deutsch ist es öfter (short) zu hören (long). :)
hello..
And it’s pronounced like the “a” in “about” in English
10:54
Mmh, is it okay if I pronounce the short one the same, as long as it's short? ö has never sounded like a schwa to me.
Wiktionary uses œ for that.
@KonradRudolph good example of the 'ah' sound
@thecoshman What?
Xeo
Xeo
@KonradRudolph Either I pronounce 'about' wrongly, or the short 'ö'.
10:56
WTF. You all mad.
@R.MartinhoFernandes no, that's more of a 'oh' sound
'what' is a good example of the 'ah' sound (and if I got that wrong this will get confuseder).
@thecoshman “ah”? Weird dialect. It’s normally prounounced /ə'bout/
@thecoshman Oh boy.
@thecoshman There are only what? Five vowel sounds in your dialect?
"ah", "eh", "ih", "oh", "uh".
Xeo
Xeo
10:57
Seriously, fuck all these complicated languages. Japanese is much better. Everything is spoken exactly like it's written.
i am a little lost, i couldn't find the 'C support chat room' in the filter. which room is it?
@R.MartinhoFernandes no, we have give vowels, but they can be long or short
@KonradRudolph There's litterally hundreds of "2D array" questions. I guess it's time someone implemented proper snippet and posted it as FAQ :P
Xeo
Xeo
@milo64 There is none.
and they are not always read as the written, context means a lot :P
10:57
@Xeo German is pretty regular, pronunciation-wise.
hm... k
@KonradRudolph where can I get a guide to reading the /.../ thing
@thecoshman Most European languages have about five vowel letters. They often have many more vowel sounds.
@thecoshman I just picked it up over time by looking up words and comparing to stuff in languages I know.
@R.MartinhoFernandes huh...
Xeo
Xeo
@LucDanton Well, sure. Especially if you compare it to English. Which is just fucking insane wrt pronounciation of the same letter sequences.
10:58
@thecoshman Hmm, good question … I think Wikipedia: IPA is as good an explanation as you’re going to get
welp, I can tell you that 'about' is said like 'ah-boout'
@Xeo French as well. The accents don't help as much as they should due to historic insanity.
@thecoshman you can me?
@Xeo Neat, there's some info regarding regional accent for this speaker.
@thecoshman Dude, either you speak some crazy accent or are terrible at expressing what it sounds like.
11:00
@thecoshman But how do you say ah-boout?
@thecoshman Sure is, but not in RP, or any “official” pronunciation
@R.MartinhoFernandes actually... I think 'ay-bout', (like hay) is also normal
@thecoshman Or at least every single dictionary that I consulted exclusively lists it differently
@R.MartinhoFernandes I think there are some unfortunate choices when it came to choosing 'ah' as a representation. To a Romance-language speaker, there is just one obvious vowel that can be represented. Which I don't think was picked here.
well, I didn't mean oo back there :P
11:01
@LucDanton I always see "ah" as /a/.
Also, why are we arguing with an Irish about proper English pronunciation? What do they know?
@R.MartinhoFernandes Of course you do!
@KonradRudolph how very dare you!
@thecoshman What you gonna do, paddle across the sea to hit me with a potato?
@KonradRudolph if I was Irish, I would to scared of the water to do so
I am English damn you!
11:03
@thecoshman exactly!
@thecoshman Ah damn, I’m dead
@thecoshman So you are nothing but a treacherous seadog.
@R.MartinhoFernandes no, just taking advantage of free house :P
Yes, allowing themselves to be bought is one hallmark of treacherous bastards.
huh... what use is wiktionary. It's stupid American English, and the IPA does not have tool tips like wikipedia
@R.MartinhoFernandes ¬_ says the man who ran across Europe...
@thecoshman I was not given free house.
11:06
@NolwennLeGuen Incidentally I talked it over with my girlfriend and I’m forbidden from adopting you – looks like you have to sit that exam after all
@R.MartinhoFernandes I wasn't given, so much as took :P
Xeo
Xeo
@R.MartinhoFernandes You were given free alcohol, though.
@Xeo Would you connect that pronunciation with that one? We obviously need to add more languages to this discussion to make this clearer.
Xeo
Xeo
@LucDanton Mmm, kinda.
@KonradRudolph "hey GF, there's this girl I know from online, mind if she comes live with us like some sort of pet?"
11:07
@thecoshman You captured exactly how that conversation went. … not.
@KonradRudolph :P
@thecoshman "GET THE FUCK OUT OF MY HOUSE YOU PERVERT"
(she just happens to read this chat from time to time ;))
@R.MartinhoFernandes what did you do to @sbi?
@KonradRudolph you mean over your shoulder as you are on here, or in a creepy stalker way checking up on what you have said?
@thecoshman She lives in another {city,country} so not over the shoulder. And I wouldn’t say “stalking” either since it’s a public online chat, she’s just interested in what’s going on in my daily life
11:10
@KonradRudolph /waves to Konrad's GF
@thecoshman What do you mean?
Xeo
Xeo
Woot, first commit at work.
@Xeo ... Against my will!
@Xeo That's /e/. Interestingly there's an /e̞/ in betwixt /e/ and /ɛ/, so perhaps that's it (for that accent I mean).
@R.MartinhoFernandes implying that was his response to something you did
Xeo
Xeo
11:11
@R.MartinhoFernandes We know, we know.
@LucDanton "betwixt"?
@R.MartinhoFernandes are you another one of these strange non drinking folks?
@Xeo between
Xeo
Xeo
@thecoshman No, he's just bad with alcohol.
@Xeo he he he
@Xeo I just type words and they don't trip the spellchecker.
Xeo
Xeo
@thecoshman I guessed as much, but I'm honestly stumped how he could've mistyped that - I mean, he's not you.
11:13
Ow.
@LucDanton That an e with ogonek?
betwixt is a real word :P it means between
I'm not so sure previous exposure to Java will help your on your C++ journey. — FredOverflow 18 secs ago
@thecoshman between two twix?
Xeo
Xeo
@thecoshman What.
@R.MartinhoFernandes that 'nek' is a nuok sound AFAIK
11:14
@R.MartinhoFernandes A frayed knot!
@thecoshman lol
@Xeo ... 'betwixt' is a real word, it means 'between'
Xeo
Xeo
It does. Wtf.
argh
if only one day I could go to sleep, and arise less tired than when I went to sleep
@LucDanton Oh. Ok. This font puts the little bottom thing to the right instead of the middle... :/
I think I used it wrong because I should have said 'there's an /e̞/ betwixt /e/ and /ɛ/', it's not a drop-in replacement for 'between' in 'in between'.
Xeo
Xeo
11:15
@DeadMG I know that feel.
@LucDanton yeah
Is there a way to output capital hexits with iostreams?
You can navigate between IPA vowel sounds and listen to audio examples. After a while you get confused and they all sound the same.
@LucDanton This better.
Also, the vowel chart is systematic.
The positions indicate the position of the tongue.
@R.MartinhoFernandes I enjoy the table with examples, too.
11:21
@R.MartinhoFernandes hexits?
Lowers means closer to the bottom, left means closer to the front.
Xeo
Xeo
@R.MartinhoFernandes to string, to upper, output? :D
@thecoshman Hexadecimal digits.
@R.MartinhoFernandes derp
@R.MartinhoFernandes strange... my tongue basically stays in the same place, just behind my lower teeth... it's down via the lip shape
11:24
@thecoshman Are you human?
@R.MartinhoFernandes Do you know what it means that there are two sounds per 'coordinate'? To condense what would otherwise be two tables into one?
maybe a slight tightening of the tongue for o
@LucDanton Second one is with rounded (kinda like pouty) lips.
¬_¬ I am in class just saying the under my breath... so perhaps I am not flexing as I normally would
Does Ubuntu 12.04 come with Bash 4.2?
11:26
@R.MartinhoFernandes Oh, I thought that was the same dimension as openness. I guess that's revealing about French phonology?
@thecoshman Yeah, try it later at home and actually make sound. When you are not vocalization you are likely to take shortcuts.
@R.MartinhoFernandes > This could be alleviated but using a smart pointer all over.
did you forget to finish that sentance (from your ogonek wiki)
s/but/by/
@LucDanton The difference between /i/ and /y/ was what made it clear to me.
(/y/ is French "u")
/y/ is Ypsilon!
11:29
No. It is really the French "u".
Xeo
Xeo
@R.MartinhoFernandes That thing sounds close to 'ü'.
@Xeo Yeah, that was what started this discussion: I asked if ü was close to French "u".
Das Ü (kleingeschrieben ü) ist ein Buchstabe des lateinischen Alphabets. Es besteht aus einem U mit Trema und ist ein Umlaut. Das Ü wurde erst als UE geschrieben. Später entwickelte sich daraus ein U mit einem kleinen E darüber (Uͤ). Dieses E wurde mit der Zeit zu zwei Punkten stilisiert. Im deutschen Alphabet ist das Ü enthalten. Es kann sowohl als ein langes Ü wie in Lüge (IPA: ) als auch als ein kurzes Ü wie in schützen (IPA: ) ausgesprochen werden. Die Aussprache als verkürztes Ü (IPA: ) kommt im Deutschen nur in Fremdwörtern vor. Das Ü ist ein typischer Buchstabe der Turksprachen...
(Why did I not check this first?)
> Die Aussprache als verkürztes Ü (IPA: y) kommt im Deutschen nur in Fremdwörtern vor.
@R.MartinhoFernandes which is an English what? :P
@thecoshman Isn't?
@thecoshman Just listen to the IPA vowel sound in the chart and judge for yourself..
Y
Y bzw. y (gesprochen []; in der Schweiz auch [], „i grec“ = griechisches i) ist der 25. Buchstabe des lateinischen Alphabets. Wie schon im klassischen Latein ist es in vielen Sprachen ein Vokal, in etlichen Sprachen aber auch ein Konsonant. Das Y war im ursprünglichen lateinischen Alphabet nicht vorhanden, es wurde erst später, zur Zeit Sullas, als 22. Buchstabe noch vor dem Z eingefügt und in lateinischen Texten nur zur Wiedergabe des Y in griechischen Lehnwörtern verwendet. Wie das prinzipiell bei jedem Vokalbuchstaben möglich ist, steht y als Vokalbuchstabe in den Schreibsystemen moder...
11:31
@R.MartinhoFernandes on a course :P no headphones
Your move.
@LucDanton "Y bzw. y (gesprochen [ˈʔʏpsilɔn]; [...]"
/ʏ/ != /y/
Xeo
Xeo
Wow.
Somebody here thought it was a good idea to transfer textures by base64-encoding them and writing them to an xml file.
@R.MartinhoFernandes I've never heard a speaker say it like the speaker for /ʏ/ in the table says it.
Always /y/
@LucDanton Hmm, lemme check that.
@LucDanton Well, that sounds just like my teacher taught us (except with a male voice).
Could be a dialect thing.
And since they are close to each other, it is likely.
11:36
de.wikipedia.org/wiki/Liste_der_IPA-Zeichen#y sez /y/ is long 'ü', /ʏ/ is short 'ü'. I don't think my ears can pick that.
You mean /uai/?
@R.MartinhoFernandes Semi-vowel alert triggered!
this really needs to move to mumble :P
Now I need to check where short vs long 'ö' map.
11:40
It's ø and œ.
Xeo
Xeo
Turns out it wasn't somebody from here, it's an open-source engine that does it.
@R.MartinhoFernandes do you plan to include text manipulation stuff with ogonek?
@thecoshman When I was learning French, I used to say it as a short "you" /iu/. That is wrong, so don't do it if you don't want to look like a fool.
@R.MartinhoFernandes Okay, so longer is more open for both right?
@thecoshman Some manipulations. What did you have in mind?
11:43
@KonradRudolph Your gf is such a faggot
@R.MartinhoFernandes basic things, length in characters, sub strings, concatenation etc.
@NolwennLeGuen lol
@LucDanton No, œ is the short one and is open-mid vs close-mid.
well that escalated quickly
@R.MartinhoFernandes Hey, you didn't respect my order!
11:45
Btw, low-high is a better alternative naming scheme to open-close IMO.
@NolwennLeGuen There’s always the possibility that she won’t read this :D
I hope she does
@R.MartinhoFernandes Yesterday it was Lounge<Physics>, now Lounge<Phonemes>? This room is awesome
@thecoshman Concatenation for stateless encodings already works: grab the underlying containers, concatenate them, and put the result back into text. :P
Counting "characters" is also already possible if your definition of "character" is one of: code unit, codepoint, extended grapheme cluster.
@R.MartinhoFernandes oh right, I haven't got to the point of dealing with text on a serious level yet, so haven't actually looked into using ogonel
11:48
@R.MartinhoFernandes Mmh, when I was taught open-close it was more in reference to the shape of the mouth (at least that's how I recall) rather than the position of the tongue. Perhaps something French-specific again.
@R.MartinhoFernandes FYI, I have a very poor grasp of how those thing's differ :P
French-specific is best specific
Substringing is not possible yet (you can get from a grapheme cluster iterator down to a codepoint iterator, but you cannot get from there down to a code unit iterator for breaking down the underlying container manually).
by character, I mean one... finished symbol.... I think
@thecoshman But why is that important?
Are you rendering the text yourself?
11:52
may I suggest when you do do substrining, you take the perl approach?
@R.MartinhoFernandes yes, say if I had mono-spaced font, and wanted to have a virtual terminal in a game
@thecoshman Depends on what you want to render.
A monospaced font does not play well with some stuff.
I wish that chart used just one speaker.
hmmm.... seems I know even less about working with fonts then I thought
do you think @R.MartinhoFernandes you would be able to write up a guide as to how to deal with font in the context of something like a game? explaining how you can handle input from any language, perhaps even a bit on how to internationalise game text, so as what to say over buttons. I know the basics of things like being aware of how langues pluralise nouns
@thecoshman The point is, the number of characters (for any sane meaning you might pick) is not very important if you want to know the size of the rendered glyphs.
@R.MartinhoFernandes Okay I'm actually slightly relieved it's this way around, because that's how I remember speaking.
11:58
In general, the only way to know the size of the rendered glyphs is to ask the rendering system.
Xeo
Xeo
@R.MartinhoFernandes s/want/way/?
If you are the rendering system you pick the glyphs, ask the font their sizes and other infos, decide where they will be placed, and then you have your measure.
So, you have to do pretty much everything except the actual pixel painting.
you mean you might some languages where a 'glyph' is say three 'units' wide?
So I think it's longer, higher? Time to do a wiki dive into German phonology I guess.
if we think of starting with Latin text with mono-spaced font

« first day (818 days earlier)      last day (4356 days later) »