Unicode character to represent "fullscreen"? - unicode

I'm sort of surprised that this doesn't exist given the sheer number of arrow-like symbols in Unicode. Have I missed something? Or is there a character that looks similar to a fullscreen icon?

There is also U+26F6 "SQUARE FOUR CORNERS" ⛶ that looks somewhat similar to this image
that you've linked. No idea what the symbol was originally supposed to stand for, though... I'm also not sure that it actually does look like four corners in all fonts, maybe it's just the font of my particular browser.

If you search for expand from the link Hans Passant commented above you'll get the below
⛶ like what Youtube uses does appear among the result
Another suggestion:
U+21F1 ⇱ North West Arrow to Corner
U+21F2 ⇲ South East Arrow to Corner
The North East and South West versions don't exist but you can rotate or mirror the available ones to create the remaining two corners. But two corners are already enough to represent a fullscreen action, you don't need to fill all four corners
Other alternatives
U+2725 ✥ FOUR CLUB-SPOKED ASTERISK
U+21F9 ⇹ LEFT RIGHT ARROW WITH VERTICAL STROKE
U+21FC ⇼ LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE
U+2921 ⤡ NORTH WEST AND SOUTH EAST ARROW
U+1F542 🕂 CROSS POMMEE (needs some modification or a special font to make the heads more arrow-like)
↔↕ (use alone or drawn onto each other to get a cross with arrows)
⤡⤢
⇳
⤄
🡤🡥🡦🡧
🡴🡵🡶🡷
🢄🢅🢆🢇
🢔🢕🢖🢗
Some examples with arrows
Here is another variation used by the player in vtvgiaitri.vn
I guess they can be made from ◣ U+25E3 Black Lower Left Triangle and ◥ U+25E5 Black Upper Right Triangle or some of the triangles like below
◸ U+25F8 Upper Left Triangle
◹ U+25F9 Upper Right Triangle
◺ U+25FA Lower Left Triangle
◿ U+25FF Lower Right Triangle
𝅊 U+1D14A Musical Symbol Triangle Notehead Left White
𝅋 U+1D14B Musical Symbol Triangle Notehead Left Black
𝅌 U+1D14C Musical Symbol Triangle Notehead Right White
𝅍 U+1D14D Musical Symbol Triangle Notehead Right Black
𝅎 U+1D14E Musical Symbol Triangle Notehead Down White
𝅏 U+1D14F Musical Symbol Triangle Notehead Down Black
𝅐 U+1D150 Musical Symbol Triangle Notehead Up Right White
𝅑 U+1D151 Musical Symbol Triangle Notehead Up Right Black
There are also ⤧⤨⤩⤪⤭⤮⤯⤰, unfortunately they don't have the double-head arrow version, but a simple solution like ⤪⤭ might work
You can draw on shapecatcher to find more relevant solutions or look for more arrows on
https://en.wikipedia.org/wiki/Arrow_(symbol)#Arrows_in_Unicode
https://en.wikipedia.org/wiki/Arrows_(Unicode_block)
https://en.wikipedia.org/wiki/Supplemental_Arrows-A
https://en.wikipedia.org/wiki/Supplemental_Arrows-B
https://en.wikipedia.org/wiki/Supplemental_Arrows-C

FWIW, as of this writing, YouTube is using an SVG for its "SQUARE FOUR CORNERS" icon; here's the code:
<svg height="100%" version="1.1" viewBox="0 0 36 36" width="100%">
<path d="m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"></path>
<path d="m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"></path>
<path d="m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"></path>
<path d="M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"></path>
</svg>

You can use some of these Unicode chars:
⌈⌊⌊⌋
「」
┘┌└ ┐
╬
⛶
╭ ╮╯╰
with <sub> or <sup> + overlapping
Or arrows:
⇱⇲
⇳⇖⇗⇘⇙⇕⇔↔↕↖↗↘↙ (and other arrows...)

Here's the classic Windows "full screen" icon: 🗖
https://www.fileformat.info/info/unicode/char/1f5d6/index.htm

I'm currently using ⇱︎, which isn't great, but sort of gets the idea across. I've also played around with "merging" characters like this:
<div style="position:relative; display:inline-block;">
<div>↖</div>
<div style="position:absolute; top:0;">↗</div>
<div style="position:absolute; top:0;">↘</div>
<div style="position:absolute; top:0;">↙</div>
</div>
Which produces this:
But it'd be much nicer if there was a single character for that sort of shape.

<sup>⇱</sup><sub>⇲</sub>
⇱⇲

Related

Edit dash size in links? (Dashes invisible in thick links)

In NetLogo 6.1.1, in the link editor, there are four line styles: solid, dotted, dashed, and a more complex dashed pattern.
However, when the visual representation of a link is thick, the spaces between dashes become invisible. It seems that the thickening surrounds each point in every direction, so that in thick lines, the color of the line overlaps the space between dashes.
Is there any way to edit dashes to create more space (or to produce better behavior for thick lines)?

Why isn't there a "Medium Small Black Circle" in Unicode

I know this is maybe off-topic on SO, but I don't know where else to ask. The Unicode blocks Miscellaneous Symbols and Miscellanous Symbols and Arrows contain these characters:
HEAVY LARGE CIRCLE (U+2B55) ⭕ (before emojis it used to look like ◯)
BLACK LARGE CIRCLE (U+2B24) ⬤
MEDIUM WHITE CIRCLE (U+26AA) ⚪
MEDIUM BLACK CIRCLE (U+26AB) ⚫
WHITE CIRCLE (U+25CB) ○
BLACK CIRCLE (U+25CF) ●
MEDIUM SMALL WHITE CIRCLE (U+26AC) ⚬
But there is no MEDIUM SMALL BLACK CIRCLE. Why is that? Is there an alternative for this symbol? (Ie. the same size as its white counterpart?)
According to the annotations in the chart for the Geometric Shapes Extended block, the set of differently sized black circles is ordered as follows:
U+22C5 DOT OPERATOR (⋅)
U+2219 BULLET OPERATOR (∙)
U+1F784 BLACK SLIGHTLY SMALL CIRCLE (🞄)
U+2022 BULLET (•)
U+2981 Z NOTATION SPOT (⦁)
U+26AB MEDIUM BLACK CIRCLE (⚫︎)
U+25CF BLACK CIRCLE (●)
U+2B24 BLACK LARGE CIRCLE (⬤)
⋅∙🞄•⦁⚫︎●⬤
Therefore, DOT OPERATOR serves as tiny black circle, BULLET OPERATOR serves as very small black circle, BULLET serves as small black circle, and Z NOTATION SPOT serves as medium small black circle.
These unifications with existing characters were implemented to cut down on the number of new additions needed when Wingdings/Webdings were incorporated into the standard.
Is there an alternative for this symbol?
Try • ∙ ⦁ 🞄
Why is that?
In the past, Unicode just collected existing character repertoires. If the originating did not have a medium small black circle, then for round-trip reasons Unicode would not have one, either.
You can get a definitive answer on the appropriate mailing list.

Are there Unicode characters like these?

Are these findable? I've turned them myself because I could only find left and right. I want it to be the text of my buttons.
The closest match is probably:
PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET (U+FE3F): ︿
PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET (U+FE40): ﹀
Technically, these are punctuation characters from the CJK compatibility block used for vertical writing systems. What you're really looking for is an arrow-like symbol.
Try using a special font, like FontAwesome. Check out chevron-up and chevron-down.
I have to agree with some other responder, though, that SVG or even a sprite image would be better. You can set the text to be the unicode characters and style the element to show the image, so that selecting it and copying would give you the text.

Unicode -- missing arrows

I'm currently working with arrows in unicode.
According to wikipedia, these five arrows are defined:
↳ ↲ ↱ ↰ ↴
However, three arrows are missing :
leftwards, tip downwards
leftwards, tip upwards
rightwards, tip upwards
How can i find, or, if inexistant, replace them ?
They are provided in the Miscellaneous Symbols and Arrows table:
⬎ ⬏ ⬐ ⬑

Matlab plot lines showing through fill area

I've written a program that creates a grid of hexagons, some black, some white. This is done randomly. I then choose randomly a subset of hexagons on the edges of which to place red diamonds. This script is designed to build pretend rock microstructures with grains (hexagons) and pore spaces (diamonds) for materials modeling. I'm using the fill() command to create each shape. The problem is that when I fill in the red diamonds, the edge of the hexagon beneath it is still showing through. I tried to post an image, but since this is my first time posting, it won't let me. I can email though, if anyone wants to see.
So to create the black hexagons:
h= fill(hexXY(i,j,1)+vx,hexXY(i,j,2)+vy,'k');
set(h,'edgecolor','k')
where the hexXY matrix holds x and y coordinates for the center of the hexagon, which added to the vx and vy arrays gives the vertices of each point on the hexagon. I then do the same thing with the diamonds:
h=fill(hexXY(i,j,1)+dvx,hexXY(i,j,2)+dvy,'r');
set(h,'edgecolor','r')
But, as I said, the black edges of the hexagons show through the red. I provided the vertices in order like you would draw them, though I don't think that should matter. I tried uistack and using patch, but neither worked for me. I can't set the hexagon edge color to none, because I have also have white hexagons, and if I set the background color to black I'd get black lines between the white hexagons. I removed have to remove the edge from either black or white hexagons, because where the two touch, the edges give messy pixelation.
Can anyone help me figure out how to get the red diamonds filled in properly?
EDIT: I didn't mention before, that this only occurs while saving the figure.You can't see it in the figure window. I've tried using print() and hgexport(), and changing the renderer, to no avail. Here is a small example with numbers pulled from my code to run:
hold on
v1=[0.3929 0.4107 0.3929 0.3571 0.3393 0.3571];
v2=[0.6907 0.6598 0.6288 0.6288 0.6598 0.6907];
h= fill(v1,v2,'k');
set(h,'edgecolor','k')
v3=[0.3750 0.3929 0.3750 0.3571 0.3750];
v4=[0.6366 0.6288 0.6211 0.6288 0.6366];
h=fill(v3,v4,'r');
set(h,'edgecolor','r')
set(gca,'position',[0 0 1 1],'units','normalized')
set(gcf,'PaperUnits','Inches','PaperPosition',[0 0 5 5]);
hgexport(gcf, 'test', hgexport('factorystyle'), 'Format', 'tiff','Resolution',600);
Here is the image saved with hgexport:
Try making your edges transparent:
set(h,'edgealpha',0)
Something weird is causing the original problem. If the commands are kept simple, everything appears fine:
h1= fill([1,2,3,3,2,1],[2,4,3,2,0,1],'m');
set(h1,'edgecolor','m')
hold on
h2= fill([2,3,2.5],[2,1,pi],'g');
set(h2,'edgecolor','g')
But the background edge moves forward when the foreground triangle is changed.
set(h2,'edgealpha',0) % an example of what can cause the problem to appear.
I don't know what's causing that.
If set(h,'edgealpha',0) does not work (as suggested by #user1739107), you may try set(h,'edgecolor','none').
On OSX R2012b, both solutions work fine.